From 95464f1496f649a5e4874418f808893ef5a8aa47 Mon Sep 17 00:00:00 2001
From: pbarroca <pbarroca@afi-sa.fr>
Date: Fri, 20 Jan 2017 12:13:37 +0100
Subject: [PATCH] dev #53936 : fix failure

---
 .../modules/admin/controllers/BibControllerTest.php            | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/application/modules/admin/controllers/BibControllerTest.php b/tests/application/modules/admin/controllers/BibControllerTest.php
index 2b897d9be70..16d2cd9370d 100644
--- a/tests/application/modules/admin/controllers/BibControllerTest.php
+++ b/tests/application/modules/admin/controllers/BibControllerTest.php
@@ -1466,7 +1466,8 @@ class BibControllerLocalisationMajTest extends BibControllerTestCase {
 
   /** @test */
   public function documentTypesShouldBeDisplayed() {
-    $this->assertTrue(0 < strpos($this->_response->getBody(), '<input type="checkbox" style="width: inherit;" value="1" clef="8" onclick="getCoches(\'TYPE_DOC\',true)">Articles<br />'));
+    $this->assertXPath('//input[@type="checkbox"][@clef="8"]',
+                       $this->_response->getBody());
   }
 
 
-- 
GitLab