]> BookStack Code Mirror - bookstack/blobdiff - tests/Unit/UrlTest.php
Install composer dependencies in Docker entrypoint
[bookstack] / tests / Unit / UrlTest.php
index feff4797718baa4904dce7d80dcbaf4aca5180a6..b9f485da13f0743178049d2e314db04fccd18536 100644 (file)
@@ -5,17 +5,6 @@ use Tests\TestCase;
 class UrlTest extends TestCase
 {
 
-    public function test_request_url_takes_custom_url_into_account()
-    {
-        config()->set('app.url', 'http://example.com/bookstack');
-        $this->get('/');
-        $this->assertEquals('http://example.com/bookstack', request()->getUri());
-
-        config()->set('app.url', 'http://example.com/docs/content');
-        $this->get('/');
-        $this->assertEquals('http://example.com/docs/content', request()->getUri());
-    }
-
     public function test_url_helper_takes_custom_url_into_account()
     {
         $this->runWithEnv('APP_URL', 'http://example.com/bookstack', function() {