Skip to content

Commit a9fe244

Browse files
committed
fixed previous merge
1 parent 77f37fb commit a9fe244

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ public function testAddInvalidType()
6363
$crawler->add(1);
6464
}
6565

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-
7666
/**
7767
* @expectedException \InvalidArgumentException
7868
* @expectedExceptionMessage Attaching DOM nodes from multiple documents in the same crawler is forbidden.

0 commit comments

Comments
 (0)