From fc9e912e067d772bb9bc668e7596ec1ab3165ebb Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 9 Apr 2016 13:45:38 +0100 Subject: [PATCH] Fixed broken test --- tests/ResponseTypes/BearerResponseTypeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ResponseTypes/BearerResponseTypeTest.php b/tests/ResponseTypes/BearerResponseTypeTest.php index c60426a2..962cd99b 100644 --- a/tests/ResponseTypes/BearerResponseTypeTest.php +++ b/tests/ResponseTypes/BearerResponseTypeTest.php @@ -157,8 +157,8 @@ class BearerResponseTypeTest extends \PHPUnit_Framework_TestCase public function testDetermineAccessTokenInHeaderRevokedToken() { $responseType = new BearerTokenResponse(); - $responseType->setPrivateKeyPath('file://' . __DIR__ . '/../Stubs/private.key'); - $responseType->setPublicKeyPath('file://' . __DIR__ . '/../Stubs/public.key'); + $responseType->setPrivateKey(new CryptKey('file://' . __DIR__ . '/../Stubs/private.key')); + $responseType->setPublicKey(new CryptKey('file://' . __DIR__ . '/../Stubs/public.key')); $client = new ClientEntity(); $client->setIdentifier('clientName');