From 5ef5486d9875166524662342200d9a9fff1ef6d0 Mon Sep 17 00:00:00 2001 From: Patrick Barroca <pbarroca@afi-sa.fr> Date: Tue, 24 Jan 2017 16:24:34 +0100 Subject: [PATCH] fix failure --- .../modules/admin/controllers/BibControllerTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/application/modules/admin/controllers/BibControllerTest.php b/tests/application/modules/admin/controllers/BibControllerTest.php index 16d2cd9370d..bf0dd4dc2ed 100644 --- a/tests/application/modules/admin/controllers/BibControllerTest.php +++ b/tests/application/modules/admin/controllers/BibControllerTest.php @@ -1436,6 +1436,10 @@ class BibControllerLocalisationMajTest extends BibControllerTestCase { 'description' => 'Coin des arts.', 'plan' =>$plan, 'image' => 'bib_2_localisation_9.jpg']); + + $this->fixture('Class_Notice', ['id' => '12', + 'type_doc' => 8]); + $this->dispatch('admin/bib/localisationsmaj/id_localisation/9/id_bib/2'); } @@ -1466,8 +1470,7 @@ class BibControllerLocalisationMajTest extends BibControllerTestCase { /** @test */ public function documentTypesShouldBeDisplayed() { - $this->assertXPath('//input[@type="checkbox"][@clef="8"]', - $this->_response->getBody()); + $this->assertXPath('//input[@type="checkbox"][@clef="8"]', $this->_response->getBody()); } -- GitLab