public function DummyStateHandlerTest::testStateValidatesCorrectly in Auth0 Single Sign On 8.2
Test that state always validates to true.
Throws
\Exception
File
- vendor/
auth0/ auth0-php/ tests/ API/ Helpers/ State/ DummyStateHandlerTest.php, line 43
Class
- DummyStateHandlerTest
- Class DummyStateHandlerTest
Namespace
Auth0\Tests\Api\Helpers\StateCode
public function testStateValidatesCorrectly() {
$this
->assertTrue($this->state
->validate(uniqid()));
// Test again with a different value.
$this
->assertTrue($this->state
->validate(uniqid()));
}