Skip to content

Commit

Permalink
Test for getClientId
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed May 9, 2013
1 parent 083a44d commit 75894fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/resource/ResourceServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public function test_isValid_valid()
$this->assertEquals(123, $s->getOwnerId());
$this->assertEquals('user', $s->getOwnerType());
$this->assertEquals('abcdef', $s->getAccessToken());
$this->assertEquals('testapp', $s->getClientId());
$this->assertTrue($s->hasScope('foo'));
$this->assertTrue($s->hasScope('bar'));
$this->assertTrue($s->hasScope(array('foo', 'bar')));
Expand Down

0 comments on commit 75894fd

Please sign in to comment.