[ticket/299] Add missing sql_exists to fetch_news_test

B3P-299
This commit is contained in:
Marc Alexander
2014-07-08 19:18:12 +02:00
parent c4c884bd7c
commit 92e17646ed

View File

@@ -27,7 +27,7 @@ class phpbb_functions_fetch_news_test extends \board3\portal\tests\testframework
$user->timezone = new \DateTimeZone('UTC');
$user->add_lang('common');
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
$cache = $this->getMock('\phpbb\cache\cache', array('obtain_word_list', 'get'));
$cache = $this->getMock('\phpbb\cache\cache', array('obtain_word_list', 'get', 'sql_exists'));
$cache->expects($this->any())
->method('obtain_word_list')
->with()