public function FormTest::testRemove in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/FormTest.php \Symfony\Component\DomCrawler\Tests\FormTest::testRemove()
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 631
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testRemove() {
$form = $this
->createForm('<form method="post"><input type="text" name="bar" value="bar" /><input type="submit" /></form>');
$form
->remove('bar');
$this
->assertFalse($form
->has('bar'), '->remove() removes a field');
}