aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/search/native_test.php')
-rw-r--r--tests/search/native_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/search/native_test.php b/tests/search/native_test.php
index 0e6f719cef..ba37660b1f 100644
--- a/tests/search/native_test.php
+++ b/tests/search/native_test.php
@@ -23,7 +23,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/posts.xml');
}
- protected function setUp()
+ protected function setUp(): void
{
global $phpbb_root_path, $phpEx, $config, $user, $cache;
@@ -195,7 +195,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'foo foo-',
'all',
true,
- array(1),
+ array(1, 1),
array(),
array(),
),
@@ -203,7 +203,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'foo- foo',
'all',
true,
- array(1),
+ array(1, 1),
array(),
array(),
),
@@ -219,7 +219,7 @@ class phpbb_search_native_test extends phpbb_search_test_case
'foo-bar-foo',
'all',
true,
- array(1, 2),
+ array(1, 2, 1),
array(),
array(),
),