You are here

public function FormTest::testGetUri in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dom-crawler/Tests/FormTest.php \Symfony\Component\DomCrawler\Tests\FormTest::testGetUri()

@dataProvider provideGetUriValues

File

vendor/symfony/dom-crawler/Tests/FormTest.php, line 475

Class

FormTest

Namespace

Symfony\Component\DomCrawler\Tests

Code

public function testGetUri($message, $form, $values, $uri, $method = null) {
  $form = $this
    ->createForm($form, $method);
  $form
    ->setValues($values);
  $this
    ->assertEquals('http://example.com' . $uri, $form
    ->getUri(), '->getUri() ' . $message);
}