From cadf5243a1814c69b90f48824d4e0a70449bcc0f Mon Sep 17 00:00:00 2001 From: pbarroca <pbarroca@afi-sa.fr> Date: Thu, 8 Jun 2017 17:18:37 +0200 Subject: [PATCH] fix failures --- .../modules/admin/controllers/ModulesControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/application/modules/admin/controllers/ModulesControllerTest.php b/tests/application/modules/admin/controllers/ModulesControllerTest.php index 084448dcb2b..6eb02519d5b 100644 --- a/tests/application/modules/admin/controllers/ModulesControllerTest.php +++ b/tests/application/modules/admin/controllers/ModulesControllerTest.php @@ -600,7 +600,7 @@ class ModulesControllerConfigRechercheResultatTest /** @test */ public function listDisplayConfigShouldContainsFacetsEditor() { - $this->assertXPath('//div[@data-heading="liste"]//li[@data-code="W"]'); + $this->assertXPath('//div[@data-heading="liste"]//li[@data-id="W"]'); } @@ -614,13 +614,13 @@ class ModulesControllerConfigRechercheResultatTest * @dataProvider facetsData */ public function facetDisplayShouldContainsDataCode($data_code) { - $this->assertXPath('//div[@data-heading="facettes"]//li[@data-code="' . $data_code . '"]'); + $this->assertXPath('//div[@data-heading="facettes"]//li[@data-id="' . $data_code . '"]'); } /** @test */ public function facetDisplayShouldNotContainsRootCustomFieldsChoice() { - $this->assertNotXPath('//div[@data-heading="facettes"]//li[@data-code="HCFCF"]'); + $this->assertNotXPath('//div[@data-heading="facettes"]//li[@data-id="HCFCF"]'); } } -- GitLab