You are here

protected function CasBrowserTestBase::enabledRedirects in CAS 8

Same name and namespace in other branches
  1. 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\Functional

Code

protected function enabledRedirects() {
  $this
    ->getSession()
    ->getDriver()
    ->getClient()
    ->followRedirects(TRUE);
}