public function NavigationTest::testRedirect in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Basic/NavigationTest.php \Behat\Mink\Tests\Driver\Basic\NavigationTest::testRedirect()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Basic/ NavigationTest.php, line 9
Class
Namespace
Behat\Mink\Tests\Driver\BasicCode
public function testRedirect() {
$this
->getSession()
->visit($this
->pathTo('/redirector.php'));
$this
->assertEquals($this
->pathTo('/redirect_destination.html'), $this
->getSession()
->getCurrentUrl());
}