protected function CasBrowserTestBase::enabledRedirects in CAS 8
Same name and namespace in other branches
- 2.x tests/src/Functional/CasBrowserTestBase.php \Drupal\Tests\cas\Functional\CasBrowserTestBase::enabledRedirects()
Tell mink to follow redirects.
1 call to CasBrowserTestBase::enabledRedirects()
- CasSubscriberTest::testForcedLoginPaths in tests/
src/ Functional/ CasSubscriberTest.php - Test that the CasSubscriber properly forces CAS authentication as expected.
File
- tests/
src/ Functional/ CasBrowserTestBase.php, line 33
Class
- CasBrowserTestBase
- Tests the CAS forced login controller.
Namespace
Drupal\Tests\cas\FunctionalCode
protected function enabledRedirects() {
$this
->getSession()
->getDriver()
->getClient()
->followRedirects(TRUE);
}