public function Auth0Test::testThatExchangeReturnsFalseIfNoCodePresent in Auth0 Single Sign On 8.2
Test that the exchange call returns false before making any HTTP calls if no code is present.
Throws
File
- vendor/
auth0/ auth0-php/ tests/ Auth0Test.php, line 62
Class
- Auth0Test
- Class Auth0Test
Namespace
Auth0\TestsCode
public function testThatExchangeReturnsFalseIfNoCodePresent() {
$auth0 = new Auth0(self::$baseConfig);
$this
->assertFalse($auth0
->exchange());
}