We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f37fb commit a9fe244Copy full SHA for a9fe244
src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
@@ -63,16 +63,6 @@ public function testAddInvalidType()
63
$crawler->add(1);
64
}
65
66
- /**
67
- * @expectedException \InvalidArgumentException
68
- * @expectedExceptionMessage Nodes set in a Crawler must be DOMElement or DOMDocument instances, "DOMNode" given.
69
- */
70
- public function testAddInvalidNode()
71
- {
72
- $crawler = new Crawler();
73
- $crawler->add(new \DOMNode());
74
- }
75
-
76
/**
77
* @expectedException \InvalidArgumentException
78
* @expectedExceptionMessage Attaching DOM nodes from multiple documents in the same crawler is forbidden.
0 commit comments