Renamed AuthServer to Authorization, renamed ResourceServer to Resource. Updated all tests and other files

This commit is contained in:
Alex Bilbie
2013-05-08 11:42:23 -07:00
parent 1df524ae6e
commit 437833cd32
32 changed files with 273 additions and 273 deletions

View File

@@ -6,7 +6,7 @@ class Request_test extends PHPUnit_Framework_TestCase
function setUp()
{
$this->request = new League\OAuth2\Util\Request(
$this->request = new League\OAuth2\Server\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 League\OAuth2\Util\Request();
$r = new League\OAuth2\Server\Util\Request();
$r->buildFromGlobals();
$this->assertTrue($r instanceof League\OAuth2\Util\Request);
$this->assertTrue($r instanceof League\OAuth2\Server\Util\Request);
}
function test_get()