Skip to content

Commit 8e1daf4

Browse files
Merge branch '3.2'
* 3.2: Refactored other PHPUnit method calls to work with namespaced PHPUnit 6 Refactored other PHPUnit method calls to work with namespaced PHPUnit 6 Further refactorings to PHPUnit namespaces resolve parameters in definition classes
2 parents 58e6d2d + 403944e commit 8e1daf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/CrawlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,8 @@ public function testChildren()
996996
$crawler = new Crawler('<p></p>');
997997
$crawler->filter('p')->children();
998998
$this->assertTrue(true, '->children() does not trigger a notice if the node has no children');
999+
} catch (\PHPUnit\Framework\Error\Notice $e) {
1000+
$this->fail('->children() does not trigger a notice if the node has no children');
9991001
} catch (\PHPUnit_Framework_Error_Notice $e) {
10001002
$this->fail('->children() does not trigger a notice if the node has no children');
10011003
}

0 commit comments

Comments
 (0)