Skip to content
Snippets Groups Projects
Commit 1419b91e authored by Patrick Barroca's avatar Patrick Barroca
Browse files

rel #26475: fix HTML5 PHP DOM

parent 30692a00
Branches
Tags
2 merge requests!955Hotline master,!951Hotline#26475 viewnotice item sorting
...@@ -66,7 +66,7 @@ abstract class NoticeAjaxControllerItemsTestCase extends AbstractControllerTestC ...@@ -66,7 +66,7 @@ abstract class NoticeAjaxControllerItemsTestCase extends AbstractControllerTestC
protected function assertXPathContentOrder($query, $contents=[]) { protected function assertXPathContentOrder($query, $contents=[]) {
$doc = new DOMDocument(); $doc = new DOMDocument();
$doc->loadHTML($this->_response->getBody()); @$doc->loadHTML($this->_response->getBody());
$xpath = new DOMXPath($doc); $xpath = new DOMXPath($doc);
$nodes = $xpath->query($query); $nodes = $xpath->query($query);
......
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