diff --git a/tests/application/modules/opac/controllers/IndexControllerTest.php b/tests/application/modules/opac/controllers/IndexControllerTest.php index 6ad8cab0275a27a9316aadd0e6c7e11bb916cc7d..75104ac9b7e3810192272278d8776b73df044a35 100644 --- a/tests/application/modules/opac/controllers/IndexControllerTest.php +++ b/tests/application/modules/opac/controllers/IndexControllerTest.php @@ -31,7 +31,7 @@ class IndexControllerSetupDomainTest extends AbstractControllerTestCase { public function accessingIndexShouldSetupNomDomain() { Class_Url::setForbidenUrls(['opac3']); $this->dispatch('/'); - $this->assertEquals('http://localhost/usr/local/bin/phpunit', Class_AdminVar::get('NOM_DOMAINE')); + $this->assertEquals('http://localhost' . Class_Url::baseUrl(), Class_AdminVar::get('NOM_DOMAINE')); }