You are here

public function SessionStateHandlerTest::testStateIssuedCorrectly in Auth0 Single Sign On 8.2

Test that the state is being issued correctly.

Return value

void

File

vendor/auth0/auth0-php/tests/API/Helpers/State/SessionStateHandlerTest.php, line 62

Class

SessionStateHandlerTest
Class SessionStateHandlerTest

Namespace

Auth0\Tests\Api\Helpers\State

Code

public function testStateIssuedCorrectly() {
  $state_issued = $this->stateHandler
    ->issue();
  $this
    ->assertEquals($state_issued, $this->sessionStore
    ->get(SessionStateHandler::STATE_NAME));
}