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
47c24e3181
commit
a9ecca92fc
@ -196,8 +196,8 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase
|
|||||||
));
|
));
|
||||||
|
|
||||||
$this->session->shouldReceive('getScopes')->andReturn(array(
|
$this->session->shouldReceive('getScopes')->andReturn(array(
|
||||||
array('key' => 'foo'),
|
array('scope' => 'foo'),
|
||||||
array('key' => 'bar')
|
array('scope' => 'bar')
|
||||||
));
|
));
|
||||||
|
|
||||||
$request = new League\OAuth2\Server\Util\Request();
|
$request = new League\OAuth2\Server\Util\Request();
|
||||||
|
Loading…
Reference in New Issue
Block a user