Update src/Symfony/Component/DomCrawler/Tests/FormTest.php

This commit is contained in:
Benoît Bourgeois 2012-11-15 10:18:26 +01:00 committed by Fabien Potencier
parent b0e468f9ba
commit e7401a2129
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,12 @@ class FormTest extends \PHPUnit_Framework_TestCase
<input type="submit" />',
array(),
),
array(
'does not take into account input fields with an empty name attribute value',
'<input type="text" name="" value="foo" />
<input type="submit" />',
array(),
),
array(
'takes into account disabled input fields',
'<input type="text" name="foo" value="foo" disabled="disabled" />