Stop testing stdClass as an argument to hasScope, it is pointless

This commit is contained in:
Woody Gilk 2014-05-31 17:28:48 -05:00
parent 33f4f5b7ab
commit 44db2b295f

View File

@ -280,6 +280,5 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase
$this->assertTrue($s->hasScope(array('foo', 'bar'))); $this->assertTrue($s->hasScope(array('foo', 'bar')));
$this->assertFalse($s->hasScope(array('foobar'))); $this->assertFalse($s->hasScope(array('foobar')));
$this->assertFalse($s->hasScope('foobar')); $this->assertFalse($s->hasScope('foobar'));
$this->assertFalse($s->hasScope(new StdClass));
} }
} }