diff --git a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php
index a82c2529ccb06ec5a89837d99e7cc8572ad2c2b8..024cdeafee5352010db71ca9fcb49e803943c7bf 100644
--- a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php
+++ b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php
@@ -415,7 +415,7 @@ abstract class NoticeAjaxControllerFrbrWithLinksTestCase extends AbstractControl
 
 
 	protected function _getUrlForKey($key) {
-		return 'http://localhost/afi-opac3-ce/recherche/viewnotice/clef/' . $key
+		return 'http://localhost' . BASE_URL . '/recherche/viewnotice/clef/' . $key
 				. '?id_profil=1&type_doc=1';
 	}