Added test_scopeParamRequired()

This commit is contained in:
Alex Bilbie 2013-03-22 11:07:55 +00:00
parent 105a5b2a31
commit 0bf2a5333a

View File

@ -103,6 +103,14 @@ class Authorization_Server_test extends PHPUnit_Framework_TestCase
$this->assertFalse($v);
}
public function test_scopeParamRequired()
{
$a = $this->returnDefault();
$a->requireScopeParam(false);
$this->assertFalse($a->scopeParamRequired());
}
public function test_setDefaultScope()
{
$a = $this->returnDefault();