protected function OpenIDConnectStateTokenTest::setUp in OpenID Connect / OAuth client 8
Same name and namespace in other branches
- 2.x tests/src/Unit/OpenIDConnectStateTokenTest.php \Drupal\Tests\openid_connect\Unit\OpenIDConnectStateTokenTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ OpenIDConnectStateTokenTest.php, line 35
Class
- OpenIDConnectStateTokenTest
- Test the OpenIDConnectStateToken class.
Namespace
Drupal\Tests\openid_connect\UnitCode
protected function setUp() : void {
parent::setUp();
$this->stateTokenService = new OpenIDConnectStateToken();
// Set the state token and save the results.
$this->stateToken = $this->stateTokenService
->create();
}