diff options
author | brunoais <brunoaiss@gmail.com> | 2015-03-12 08:30:53 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-03-12 12:21:29 +0000 |
commit | 7112058d7ba1cd77a165434c3a732a1cb0d22e01 (patch) | |
tree | 07dcdb681f0dd97ffe6c91d6cf317487d3c92369 /tests/search/postgres_test.php | |
parent | c3a0e09ddbb53dc77d2d78725f934625266065f3 (diff) | |
download | forums-7112058d7ba1cd77a165434c3a732a1cb0d22e01.tar forums-7112058d7ba1cd77a165434c3a732a1cb0d22e01.tar.gz forums-7112058d7ba1cd77a165434c3a732a1cb0d22e01.tar.bz2 forums-7112058d7ba1cd77a165434c3a732a1cb0d22e01.tar.xz forums-7112058d7ba1cd77a165434c3a732a1cb0d22e01.zip |
[ticket/13685] Fix tests for fulltext search
PHPBB3-13685
Diffstat (limited to 'tests/search/postgres_test.php')
-rw-r--r-- | tests/search/postgres_test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/search/postgres_test.php b/tests/search/postgres_test.php index f96d71e2bc..ece99b4500 100644 --- a/tests/search/postgres_test.php +++ b/tests/search/postgres_test.php @@ -37,8 +37,9 @@ class phpbb_search_postgres_test extends phpbb_search_common_test_case $config['fulltext_postgres_max_word_len'] = 254; $this->db = $this->new_dbal(); + $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); $error = null; $class = self::get_search_wrapper('\phpbb\search\fulltext_postgres'); - $this->search = new $class($error, $phpbb_root_path, $phpEx, null, $config, $this->db, $user); + $this->search = new $class($error, $phpbb_root_path, $phpEx, null, $config, $this->db, $phpbb_dispatcher, $user); } } |