Skip to content
Snippets Groups Projects
Commit cadf5243 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

fix failures

parent e13bdf9a
Branches
Tags
2 merge requests!2334Master,!2184Hotline master
Pipeline #1678 failed with stage
in 17 minutes and 22 seconds
......@@ -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"]');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment