mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +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
|
$scopeStorage
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertFalse($server->isValidRequest());
|
$this->setExpectedException('League\OAuth2\Server\Exception\InvalidRequestException');
|
||||||
|
$server->isValidRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIsValid()
|
public function testIsValid()
|
||||||
|
Loading…
Reference in New Issue
Block a user