Updated tests for new namespace

This commit is contained in:
Alex Bilbie
2013-05-08 11:06:21 -07:00
parent 850473ce40
commit f4b955ccff
9 changed files with 185 additions and 185 deletions

View File

@@ -6,7 +6,7 @@ class Request_test extends PHPUnit_Framework_TestCase
function setUp()
{
$this->request = new OAuth2\Util\Request(
$this->request = new League\OAuth2\Util\Request(
array('foo' => 'bar'),
array('foo' => 'bar'),
array('foo' => 'bar'),
@@ -17,10 +17,10 @@ class Request_test extends PHPUnit_Framework_TestCase
function test_buildFromIndex()
{
$r = new OAuth2\Util\Request();
$r = new League\OAuth2\Util\Request();
$r->buildFromGlobals();
$this->assertTrue($r instanceof OAuth2\Util\Request);
$this->assertTrue($r instanceof League\OAuth2\Util\Request);
}
function test_get()