diff --git a/tests/authorization/AuthServerTest.php b/tests/authorization/AuthServerTest.php index bf534b64..5b3d3a08 100644 --- a/tests/authorization/AuthServerTest.php +++ b/tests/authorization/AuthServerTest.php @@ -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();