From 536e8a55722308b10353330d888711e8e745716e Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Tue, 6 Oct 2015 08:54:42 +0200 Subject: [PATCH] hotline #29412 fix test failure --- .../modules/opac/controllers/IndexControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/application/modules/opac/controllers/IndexControllerTest.php b/tests/application/modules/opac/controllers/IndexControllerTest.php index 6ad8cab0275..75104ac9b7e 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')); } -- GitLab