diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 23:59:45 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 23:59:45 +0200 |
| commit | 2ebd86611a760b923752a6103e3f75d2bb94e048 (patch) | |
| tree | 55aa414cf2da0373bac2088c8f579e739d30fb5b /tests/auth/provider_oauth_token_storage_test.php | |
| parent | 8595b2ae86ca14c83d8a61241fadec9f72a730c3 (diff) | |
| download | forums-2ebd86611a760b923752a6103e3f75d2bb94e048.tar forums-2ebd86611a760b923752a6103e3f75d2bb94e048.tar.gz forums-2ebd86611a760b923752a6103e3f75d2bb94e048.tar.bz2 forums-2ebd86611a760b923752a6103e3f75d2bb94e048.tar.xz forums-2ebd86611a760b923752a6103e3f75d2bb94e048.zip | |
[ticket/12716] Use a string as session_id
PHPBB3-12716
Diffstat (limited to 'tests/auth/provider_oauth_token_storage_test.php')
| -rw-r--r-- | tests/auth/provider_oauth_token_storage_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth/provider_oauth_token_storage_test.php b/tests/auth/provider_oauth_token_storage_test.php index 8919345087..45daa9816b 100644 --- a/tests/auth/provider_oauth_token_storage_test.php +++ b/tests/auth/provider_oauth_token_storage_test.php @@ -77,7 +77,7 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c public function test_retrieveAccessToken_wrong_token() { - $this->user->data['session_id'] = 9999; + $this->user->data['session_id'] = 'abcd'; try { $this->token_storage->retrieveAccessToken($this->service_name); @@ -87,7 +87,7 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c { } - $row = $this->get_token_row_by_session_id(9999); + $row = $this->get_token_row_by_session_id('abcd'); $this->assertFalse($row); } |
