aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-09-02 16:52:24 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-09-02 16:52:41 -0400
commitae18f921ea61b20b026c4679b5b27cf40825f5dd (patch)
tree97a3ddff354c79c8c12388fe4da7b5c6e56e7a4f /tests/auth
parent29e3768ecc7bc8adf96d4e31c4e05a6f1de6735a (diff)
downloadforums-ae18f921ea61b20b026c4679b5b27cf40825f5dd.tar
forums-ae18f921ea61b20b026c4679b5b27cf40825f5dd.tar.gz
forums-ae18f921ea61b20b026c4679b5b27cf40825f5dd.tar.bz2
forums-ae18f921ea61b20b026c4679b5b27cf40825f5dd.tar.xz
forums-ae18f921ea61b20b026c4679b5b27cf40825f5dd.zip
[feature/oauth] More small fixes
PHPBB3-11673
Diffstat (limited to 'tests/auth')
-rw-r--r--tests/auth/provider_oauth_token_storage_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth/provider_oauth_token_storage_test.php b/tests/auth/provider_oauth_token_storage_test.php
index 223d4dfb93..401f049405 100644
--- a/tests/auth/provider_oauth_token_storage_test.php
+++ b/tests/auth/provider_oauth_token_storage_test.php
@@ -197,7 +197,7 @@ class phpbb_auth_provider_oauth_token_storage_test extends phpbb_database_test_c
{
// Test that the token is stored in the database
$sql = 'SELECT * FROM phpbb_oauth_tokens
- WHERE session_id = \'' . $session_id . '\'';
+ WHERE session_id = \'' . $this->db->sql_escape($session_id) . '\'';
$result = $this->db->sql_query($sql);
$row = $this->db->sql_fetchrow($result);
$this->db->sql_freeresult($result);