You are here

protected function CasBrowserTestBase::enabledRedirects in CAS 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/CasBrowserTestBase.php \Drupal\Tests\cas\Functional\CasBrowserTestBase::enabledRedirects()

Tell mink to follow redirects.

1 call to CasBrowserTestBase::enabledRedirects()
CasForcedAuthSubscriberTest::testForcedLoginPaths in tests/src/Functional/CasForcedAuthSubscriberTest.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);
}