[DomCrawler] fixed tests for previous merge
This commit is contained in:
parent
cbfab7ab06
commit
bbdd516e63
@ -330,8 +330,8 @@ EOF
|
||||
|
||||
public function testHtml()
|
||||
{
|
||||
$this->assertEquals('<img alt="Bar"/>', $this->createTestCrawler()->filterXPath('//a[5]')->html());
|
||||
$this->assertEquals('<input type="text" value="TextValue" name="TextName"/><input type="submit" value="FooValue" name="FooName" id="FooId"/><input type="button" value="BarValue" name="BarName" id="BarId"/><button value="ButtonValue" name="ButtonName" id="ButtonId"/>'
|
||||
$this->assertEquals('<img alt="Bar">', $this->createTestCrawler()->filterXPath('//a[5]')->html());
|
||||
$this->assertEquals('<input type="text" value="TextValue" name="TextName"><input type="submit" value="FooValue" name="FooName" id="FooId"><input type="button" value="BarValue" name="BarName" id="BarId"><button value="ButtonValue" name="ButtonName" id="ButtonId"></button>'
|
||||
, trim($this->createTestCrawler()->filterXPath('//form[@id="FooFormId"]')->html()));
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user