[ticket/303] Add sql_exists to cache mock

B3P-303
This commit is contained in:
Marc Alexander
2014-07-09 23:30:59 +02:00
parent 1a9dfa8a58
commit f2a6bce07b
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ class phpbb_unit_functions_functions_test extends \board3\portal\tests\testframe
parent::setUp();
$user = $this->getMock('\phpbb\user', array('optionget'));
$cache = $this->getMock('\phpbb\cache\cache', array('obtain_word_list'));
$cache = $this->getMock('\phpbb\cache\cache', array('obtain_word_list', 'sql_exists'));
$cache->expects($this->any())
->method('obtain_word_list')
->with()