[DomCrawler] fixed tests for previous merge

This commit is contained in:
Fabien Potencier 2013-05-10 17:43:46 +02:00
parent cbfab7ab06
commit bbdd516e63
1 changed files with 2 additions and 2 deletions

View File

@ -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 {