diff options
author | Andy Chase <asperous2@gmail.com> | 2013-07-22 17:39:45 -0700 |
---|---|---|
committer | Andy Chase <asperous2@gmail.com> | 2013-07-22 17:39:45 -0700 |
commit | 2fe2724e684304e1c8323c047d1dde6cd732afcd (patch) | |
tree | cf52d225f5996ea9706aa5bad2d547098e94a648 /tests/test_framework/phpbb_session_test_case.php | |
parent | 0c54fb034b71cfc2bff338430acb1e2b43083dd5 (diff) | |
download | forums-2fe2724e684304e1c8323c047d1dde6cd732afcd.tar forums-2fe2724e684304e1c8323c047d1dde6cd732afcd.tar.gz forums-2fe2724e684304e1c8323c047d1dde6cd732afcd.tar.bz2 forums-2fe2724e684304e1c8323c047d1dde6cd732afcd.tar.xz forums-2fe2724e684304e1c8323c047d1dde6cd732afcd.zip |
[ticket/11620] Whitespace and combine function into test_case
PHPBB3-11620
Diffstat (limited to 'tests/test_framework/phpbb_session_test_case.php')
-rw-r--r-- | tests/test_framework/phpbb_session_test_case.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_session_test_case.php b/tests/test_framework/phpbb_session_test_case.php index 6ff7d8e2ef..e6a2b03bba 100644 --- a/tests/test_framework/phpbb_session_test_case.php +++ b/tests/test_framework/phpbb_session_test_case.php @@ -24,4 +24,13 @@ abstract class phpbb_session_test_case extends phpbb_database_test_case $this->session_facade = new phpbb_session_testable_facade($this->db, $this->session_factory); } + + protected function check_sessions_equals($expected_sessions, $message) + { + $sql = 'SELECT session_id, session_user_id + FROM phpbb_sessions + ORDER BY session_user_id'; + + $this->assertSqlResultEquals($expected_sessions, $sql, $message); + } } |