mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 01:36:02 +05:30
isValidRequest now throws exception
This commit is contained in:
parent
228144a701
commit
8fbbc7bd07
@ -111,7 +111,8 @@ class ResourceServerTest extends \PHPUnit_Framework_TestCase
|
||||
$scopeStorage
|
||||
);
|
||||
|
||||
$this->assertFalse($server->isValidRequest());
|
||||
$this->setExpectedException('League\OAuth2\Server\Exception\InvalidRequestException');
|
||||
$server->isValidRequest();
|
||||
}
|
||||
|
||||
public function testIsValid()
|
||||
|
Loading…
Reference in New Issue
Block a user