aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth/provider_oauth_token_storage_test.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-24 15:47:06 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-24 15:47:06 -0400
commit229d4f2fd6e067f95a5766c90e34578d1baaddb8 (patch)
treeb05011cb3d9ff1ca192f756ca6868b259e9c5a6b /tests/auth/provider_oauth_token_storage_test.php
parenta72951b79902d6512a1e769e23c394395e930870 (diff)
downloadforums-229d4f2fd6e067f95a5766c90e34578d1baaddb8.tar
forums-229d4f2fd6e067f95a5766c90e34578d1baaddb8.tar.gz
forums-229d4f2fd6e067f95a5766c90e34578d1baaddb8.tar.bz2
forums-229d4f2fd6e067f95a5766c90e34578d1baaddb8.tar.xz
forums-229d4f2fd6e067f95a5766c90e34578d1baaddb8.zip
[feature/oauth] Replace spaces with tabs
PHPBB3-11673
Diffstat (limited to 'tests/auth/provider_oauth_token_storage_test.php')
-rw-r--r--tests/auth/provider_oauth_token_storage_test.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auth/provider_oauth_token_storage_test.php b/tests/auth/provider_oauth_token_storage_test.php
index e86d1359d9..2a161bb9cc 100644
--- a/tests/auth/provider_oauth_token_storage_test.php
+++ b/tests/auth/provider_oauth_token_storage_test.php
@@ -74,8 +74,8 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c
$this->setExpectedException($exception);
- $stored_token = $this->token_storage->retrieveAccessToken();
- $this->assertEquals($token, $stored_token);
+ $stored_token = $this->token_storage->retrieveAccessToken();
+ $this->assertEquals($token, $stored_token);
}
public function test_storeAccessToken()
@@ -85,13 +85,13 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c
// Confirm that the token is cached
$extraParams = $this->token_storage->retrieveAccessToken()->getExtraParams();
- $this->assertEquals( 'param', $extraParams['extra'] );
- $this->assertEquals( 'access', $this->token_storage->retrieveAccessToken()->getAccessToken() );
+ $this->assertEquals( 'param', $extraParams['extra'] );
+ $this->assertEquals( 'access', $this->token_storage->retrieveAccessToken()->getAccessToken() );
- // Test that the token is stored in the database
- $sql = 'SELECT oauth_token FROM phpbb_oauth_tokens
- WHERE session_id = \'' . $this->session_id . '\'';
- $result = $this->db->sql_query($sql);
+ // Test that the token is stored in the database
+ $sql = 'SELECT oauth_token FROM phpbb_oauth_tokens
+ WHERE session_id = \'' . $this->session_id . '\'';
+ $result = $this->db->sql_query($sql);
$row = $this->db->sql_fetchrow($result);
$this->db->sql_freeresult($result);