public function FormTest::testOffsetUnset in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dom-crawler/Tests/FormTest.php \Symfony\Component\DomCrawler\Tests\FormTest::testOffsetUnset()
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 380
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testOffsetUnset() {
$form = $this
->createForm('<form><input type="text" name="foo" value="foo" /><input type="submit" /></form>');
unset($form['foo']);
$this
->assertFalse(isset($form['foo']), '->offsetUnset() removes a field');
}