mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Test for getClientId
This commit is contained in:
		@@ -174,6 +174,7 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase
 | 
			
		||||
    	$this->assertEquals(123, $s->getOwnerId());
 | 
			
		||||
    	$this->assertEquals('user', $s->getOwnerType());
 | 
			
		||||
    	$this->assertEquals('abcdef', $s->getAccessToken());
 | 
			
		||||
        $this->assertEquals('testapp', $s->getClientId());
 | 
			
		||||
    	$this->assertTrue($s->hasScope('foo'));
 | 
			
		||||
    	$this->assertTrue($s->hasScope('bar'));
 | 
			
		||||
    	$this->assertTrue($s->hasScope(array('foo', 'bar')));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user