public function FormTest::testGetUriWithAnchor 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::testGetUriWithAnchor()
File
- vendor/
symfony/ dom-crawler/ Tests/ FormTest.php, line 493
Class
Namespace
Symfony\Component\DomCrawler\TestsCode
public function testGetUriWithAnchor() {
$form = $this
->createForm('<form action="#foo"><input type="submit" /></form>', null, 'http://example.com/id/123');
$this
->assertEquals('http://example.com/id/123#foo', $form
->getUri());
}