diff options
author | Nils Adermann <naderman@naderman.de> | 2011-01-23 18:44:03 +0100 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-01-23 18:44:03 +0100 |
commit | 10169d1c3e6c68f596bb03acb3b6389eb6056804 (patch) | |
tree | fe17008b34a4d7a517c5397d36e4829fb471a88a /tests/mock/cache.php | |
parent | Merge branch 'develop-olympus' into develop (diff) | |
parent | Merge branch 'task/naderman/session-tests' into develop-olympus (diff) | |
download | phpbb-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar.gz phpbb-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar.bz2 phpbb-10169d1c3e6c68f596bb03acb3b6389eb6056804.zip |
Merge branch 'develop-olympus' into develop
* develop-olympus:
[task/session-tests] Renamed assertSqlResultEquals and fixed its param order
[task/session-tests] Test additional combinations of session_begin.
[task/session-tests] Added tests for the session class.
Conflicts:
tests/mock/cache.php
Diffstat (limited to 'tests/mock/cache.php')
-rw-r--r-- | tests/mock/cache.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mock/cache.php b/tests/mock/cache.php index dd29e0e9e3..713f1ca817 100644 --- a/tests/mock/cache.php +++ b/tests/mock/cache.php @@ -90,4 +90,9 @@ class phpbb_mock_cache implements phpbb_cache_driver_interface public function sql_freeresult($query_id) { } + + public function obtain_bots() + { + return isset($this->data['_bots']) ? $this->data['_bots'] : array(); + } } |