Changed Case of Oauth2 namespace to OAuth2 namespace

This commit is contained in:
Daniel Horrigan
2013-01-08 16:35:29 -05:00
parent 385111a1f2
commit c12472857b
14 changed files with 60 additions and 60 deletions

View File

@@ -5,10 +5,10 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase {
function setUp()
{
require_once('database_mock.php');
$this->server = new Oauth2\Resource\Server();
$this->server = new OAuth2\Resource\Server();
$this->db = new ResourceDB();
$this->assertInstanceOf('Oauth2\Resource\Database', $this->db);
$this->assertInstanceOf('OAuth2\Resource\Database', $this->db);
$this->server->registerDbAbstractor($this->db);
}
@@ -72,7 +72,7 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase {
}
/**
* @expectedException \Oauth2\Resource\ClientException
* @expectedException \OAuth2\Resource\ClientException
* @expectedExceptionMessage An access token was not presented with the request
*/
function test_init_missingToken()
@@ -81,7 +81,7 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase {
}
/**
* @expectedException \Oauth2\Resource\ClientException
* @expectedException \OAuth2\Resource\ClientException
* @expectedExceptionMessage The access token is not registered with the resource server
*/
function test_init_wrongToken()