mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	100% unit test coverage
This commit is contained in:
		@@ -137,6 +137,10 @@ class ResourceServerTest extends \PHPUnit_Framework_TestCase
 | 
			
		||||
 | 
			
		||||
        $server->setIdKey('at');
 | 
			
		||||
 | 
			
		||||
        $server->addEventListener('session.owner', function($event) {
 | 
			
		||||
            $this->assertTrue($event->getSession() instanceof \League\OAuth2\Server\Entity\SessionEntity);
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        $accessTokenStorage->shouldReceive('get')->andReturn(
 | 
			
		||||
            (new AccessTokenEntity($server))->setId('abcdef')
 | 
			
		||||
        );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user