From 92639fbbd682015dd3b54bb2f99b870ce07717fe Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 20 Jun 2014 14:31:17 +0100 Subject: [PATCH] Removed dead code --- tests/Grant/ClientCredentialsGrantTest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/Grant/ClientCredentialsGrantTest.php b/tests/Grant/ClientCredentialsGrantTest.php index 8db12085..13bd2e80 100644 --- a/tests/Grant/ClientCredentialsGrantTest.php +++ b/tests/Grant/ClientCredentialsGrantTest.php @@ -221,19 +221,9 @@ class ClientCredentialsGrantTest extends \PHPUnit_Framework_TestCase $sessionStorage = M::mock('League\OAuth2\Server\Storage\SessionInterface'); $sessionStorage->shouldReceive('setServer'); - // $sessionStorage->shouldReceive('create')->andreturn(123); - // $sessionStorage->shouldReceive('getScopes')->shouldReceive('getScopes')->andReturn([ - // (new ScopeEntity($server))->setId('foo') - // ]); - // $sessionStorage->shouldReceive('associateScope'); $accessTokenStorage = M::mock('League\OAuth2\Server\Storage\AccessTokenInterface'); $accessTokenStorage->shouldReceive('setServer'); - // $accessTokenStorage->shouldReceive('create'); - // $accessTokenStorage->shouldReceive('getScopes')->andReturn([ - // (new ScopeEntity($server))->setId('foo') - // ]); - // $accessTokenStorage->shouldReceive('associateScope'); $scopeStorage = M::mock('League\OAuth2\Server\Storage\ScopeInterface'); $scopeStorage->shouldReceive('setServer');