public function LdapSsoBrowserTests::setUp in LDAP Single Sign On 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ LdapSsoBrowserTests.php, line 23
Class
- LdapSsoBrowserTests
- Test redirection behaviour with SSO enabled.
Namespace
Drupal\Tests\ldap_sso\BrowserCode
public function setUp() {
parent::setUp();
$configFactory = \Drupal::configFactory()
->getEditable('ldap_authentication.settings');
$configFactory
->set('seamlessLogin', TRUE)
->save();
}