diff --git a/tests/application/modules/admin/controllers/AlbumControllerEPubTest.php b/tests/application/modules/admin/controllers/AlbumControllerEPubTest.php index 37653de5a57e628a2e0e5e9c5caf718a9edef304..3c81ea2d169608388407ac5282ae51e2b79c76b1 100644 --- a/tests/application/modules/admin/controllers/AlbumControllerEPubTest.php +++ b/tests/application/modules/admin/controllers/AlbumControllerEPubTest.php @@ -21,7 +21,7 @@ require_once 'AlbumControllerTest.php'; -class Admin_AlbumControllerEPubTest extends Admin_AlbumControllerTestCase { +class Admin_AlbumControllerPreviewEPubTest extends Admin_AlbumControllerTestCase { protected $_xpath; public function setUp() { diff --git a/tests/application/modules/admin/controllers/AlbumControllerTest.php b/tests/application/modules/admin/controllers/AlbumControllerTest.php index 73f809e924f9593ac583e4ef33d8b39744aea05d..cd0c86ce05753750c652d7e3fa37fb8fddfa872c 100644 --- a/tests/application/modules/admin/controllers/AlbumControllerTest.php +++ b/tests/application/modules/admin/controllers/AlbumControllerTest.php @@ -766,14 +766,14 @@ class Admin_AlbumControllerEditAlbumMesBDTest extends Admin_AlbumControllerTestC /** @test */ public function permalienShoulBeVisible() { - $this->assertXPath('//input[@value="http://localhost/bib-numerique/notice/ido/DC023"]', + $this->assertXPath('//input[@value="http://localhost'.BASE_URL.'/bib-numerique/notice/ido/DC023"]', $this->_response->getBody()); } /** @test */ public function permalienVignetteShoulBeVisible() { - $this->assertXPath('//input[@value="http://localhost/bib-numerique/notice-thumbnail/ido/DC023"]'); + $this->assertXPath('//input[@value="http://localhost'.BASE_URL.'/bib-numerique/notice-thumbnail/ido/DC023"]'); } @@ -1293,7 +1293,7 @@ class Admin_AlbumControllerAlbumHarlockEditRessourceTwoActionTest extends Admin_ /** @test */ public function permalienShoulBeVisible() { - $this->assertXPath('//input[@value="http://localhost/bib-numerique/notice/ido/HL22/folio/4R"]', + $this->assertXPath('//input[@value="http://localhost'.BASE_URL.'/bib-numerique/notice/ido/HL22/folio/4R"]', $this->_response->getBody()); } }