mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Fixed broken test
This commit is contained in:
parent
39281a6f38
commit
fc9e912e06
@ -157,8 +157,8 @@ class BearerResponseTypeTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function testDetermineAccessTokenInHeaderRevokedToken()
|
public function testDetermineAccessTokenInHeaderRevokedToken()
|
||||||
{
|
{
|
||||||
$responseType = new BearerTokenResponse();
|
$responseType = new BearerTokenResponse();
|
||||||
$responseType->setPrivateKeyPath('file://' . __DIR__ . '/../Stubs/private.key');
|
$responseType->setPrivateKey(new CryptKey('file://' . __DIR__ . '/../Stubs/private.key'));
|
||||||
$responseType->setPublicKeyPath('file://' . __DIR__ . '/../Stubs/public.key');
|
$responseType->setPublicKey(new CryptKey('file://' . __DIR__ . '/../Stubs/public.key'));
|
||||||
|
|
||||||
$client = new ClientEntity();
|
$client = new ClientEntity();
|
||||||
$client->setIdentifier('clientName');
|
$client->setIdentifier('clientName');
|
||||||
|
Loading…
Reference in New Issue
Block a user