mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-29 18:53:25 +05:30
isValidRequest now throws exception
This commit is contained in:
1 parent
228144a701
commit
8fbbc7bd07
1 file changed
+2
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user