diff --git a/tests/application/modules/admin/controllers/BibControllerTest.php b/tests/application/modules/admin/controllers/BibControllerTest.php index 2b897d9be709bcfea8aadc994c1aa7ceb388e2e9..16d2cd9370decf4f974b98b8ffacd5cb6a6fbde5 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()); }