Skip to content

Commit 18988ed

Browse files
author
Woody Gilk
committed
Stop testing stdClass as an argument to hasScope, it is pointless
1 parent ac0e668 commit 18988ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/resource/ResourceServerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,5 @@ public function test_isValid_valid()
280280
$this->assertTrue($s->hasScope(array('foo', 'bar')));
281281
$this->assertFalse($s->hasScope(array('foobar')));
282282
$this->assertFalse($s->hasScope('foobar'));
283-
$this->assertFalse($s->hasScope(new StdClass));
284283
}
285284
}

0 commit comments

Comments
 (0)