aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-01-23 18:44:03 +0100
committerNils Adermann <naderman@naderman.de>2011-01-23 18:44:03 +0100
commit10169d1c3e6c68f596bb03acb3b6389eb6056804 (patch)
treefe17008b34a4d7a517c5397d36e4829fb471a88a /tests/mock/cache.php
parent1196b96462e519271d01bc1821aafc35aafc0fd8 (diff)
parente1e84f9bd080bb6cad604611535dc38e4109eb47 (diff)
downloadforums-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar
forums-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar.gz
forums-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar.bz2
forums-10169d1c3e6c68f596bb03acb3b6389eb6056804.tar.xz
forums-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.php5
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();
+ }
}