Skip to content
Snippets Groups Projects
Commit f5876c2a authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #74708 fix tests

parent 41b1d5b0
2 merge requests!2663Hotline,!2652hotline #74708 fix CompareUrl
Pipeline #4139 passed with stage
in 33 minutes and 32 seconds
......@@ -159,7 +159,7 @@ abstract class MenuVerticalWithManyItemsTestCase extends MenuVerticalTestCase {
/** @test */
function parentItemShouldHaveDisplayNone() {
$this->assertXPath($this->_html, '//ul/li[contains(@style, "display:none")]');
$this->assertXPath($this->_html, '//ul/li[contains(@style, "display: none")]');
}
......@@ -228,7 +228,7 @@ class MenuVerticalRssWithManyItemsTest extends MenuVerticalWithManyItemsTestCase
function withMenuDeplieOnShouldNotHaveDisplayNone() {
$this->helper->setPreference('menu_deplie', 1);
$this->_html = $this->helper->getBoite();
$this->assertNotXPath($this->_html, '//ul/li[contains(@style, "display:none")]');
$this->assertNotXPath($this->_html, '//ul/li[contains(@style, "display: none")]');
}
/** @test */
......
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