private function LdapSsoBrowserTest::getWithoutRedirect in LDAP Single Sign On 8.4
GET Request without redirect.
Parameters
string $url: URL.
Return value
2 calls to LdapSsoBrowserTest::getWithoutRedirect()
- LdapSsoBrowserTest::testExclusions in tests/
src/ Functional/ LdapSsoBrowserTest.php - Test logout no redirection.
- LdapSsoBrowserTest::testSeamlessDisabled in tests/
src/ Functional/ LdapSsoBrowserTest.php - Test seamless disabled.
File
- tests/
src/ Functional/ LdapSsoBrowserTest.php, line 210
Class
- LdapSsoBrowserTest
- Test redirection behaviour with SSO enabled.
Namespace
Drupal\Tests\ldap_sso\FunctionalCode
private function getWithoutRedirect(string $url) : Session {
$session = $this
->getSession();
$session
->getDriver()
->getClient()
->followRedirects(FALSE);
$this
->prepareRequest();
$session
->visit($url);
return $session;
}