public function FileFormFieldTest::testSetRawFilePath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/Field/FileFormFieldTest.php \Symfony\Component\DomCrawler\Tests\Field\FileFormFieldTest::testSetRawFilePath()
File
- vendor/
symfony/ dom-crawler/ Tests/ Field/ FileFormFieldTest.php, line 106
Class
Namespace
Symfony\Component\DomCrawler\Tests\FieldCode
public function testSetRawFilePath() {
$node = $this
->createNode('input', '', array(
'type' => 'file',
));
$field = new FileFormField($node);
$field
->setFilePath(__FILE__);
$this
->assertEquals(__FILE__, $field
->getValue());
}