diff options
author | brunoais <brunoaiss@gmail.com> | 2015-03-12 08:30:53 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-06-07 18:40:49 +0100 |
commit | 3cb86cb6f16c73ba103b190689d713e98e5d4755 (patch) | |
tree | 3a73de1e69a5d3b2979fafb694c1bc3ab201c6f6 /tests/search/mysql_test.php | |
parent | 1e45a05000687994137adb7e415a9a39f9afd371 (diff) | |
download | forums-3cb86cb6f16c73ba103b190689d713e98e5d4755.tar forums-3cb86cb6f16c73ba103b190689d713e98e5d4755.tar.gz forums-3cb86cb6f16c73ba103b190689d713e98e5d4755.tar.bz2 forums-3cb86cb6f16c73ba103b190689d713e98e5d4755.tar.xz forums-3cb86cb6f16c73ba103b190689d713e98e5d4755.zip |
[ticket/13685] Fix tests for fulltext search
PHPBB3-13685
Diffstat (limited to 'tests/search/mysql_test.php')
-rw-r--r-- | tests/search/mysql_test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/search/mysql_test.php b/tests/search/mysql_test.php index c0c16456f4..3a791f5e81 100644 --- a/tests/search/mysql_test.php +++ b/tests/search/mysql_test.php @@ -37,8 +37,9 @@ class phpbb_search_mysql_test extends phpbb_search_common_test_case $config['fulltext_mysql_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_mysql'); - $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, $user, $phpbb_dispatcher); } } |