aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
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();
+ }
}