mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Added test_scopeParamRequired()
This commit is contained in:
parent
105a5b2a31
commit
0bf2a5333a
@ -103,6 +103,14 @@ class Authorization_Server_test extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertFalse($v);
|
$this->assertFalse($v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function test_scopeParamRequired()
|
||||||
|
{
|
||||||
|
$a = $this->returnDefault();
|
||||||
|
$a->requireScopeParam(false);
|
||||||
|
|
||||||
|
$this->assertFalse($a->scopeParamRequired());
|
||||||
|
}
|
||||||
|
|
||||||
public function test_setDefaultScope()
|
public function test_setDefaultScope()
|
||||||
{
|
{
|
||||||
$a = $this->returnDefault();
|
$a = $this->returnDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user