diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2012-11-12 13:47:33 +0100 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-27 08:48:15 -0500 |
commit | 615582f0dffc8d50604e3cc567e01e807a397bec (patch) | |
tree | 17a701e764624396554eb94fdfa030decc26424e /tests/search/native_test.php | |
parent | 6a76b85cbc741ef15c219c2c02c318bc43f29a59 (diff) | |
download | forums-615582f0dffc8d50604e3cc567e01e807a397bec.tar forums-615582f0dffc8d50604e3cc567e01e807a397bec.tar.gz forums-615582f0dffc8d50604e3cc567e01e807a397bec.tar.bz2 forums-615582f0dffc8d50604e3cc567e01e807a397bec.tar.xz forums-615582f0dffc8d50604e3cc567e01e807a397bec.zip |
[ticket/11174] rename native wrapper class
native wrapper class is limited to the native search backend hence renamed.
the one used with mysql can be used with pgsql too.
PHPBB3-11174
Diffstat (limited to 'tests/search/native_test.php')
-rw-r--r-- | tests/search/native_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/search/native_test.php b/tests/search/native_test.php index 66972079cf..722da9eb59 100644 --- a/tests/search/native_test.php +++ b/tests/search/native_test.php @@ -7,7 +7,7 @@ * */ -function phpbb_search_wrapper($class) +function phpbb_native_search_wrapper($class) { $wrapped = $class . '_wrapper'; if (!class_exists($wrapped)) @@ -45,7 +45,7 @@ class phpbb_search_native_test extends phpbb_database_test_case $this->db = $this->new_dbal(); $error = null; - $class = phpbb_search_wrapper('phpbb_search_fulltext_native'); + $class = phpbb_native_search_wrapper('phpbb_search_fulltext_native'); $this->search = new $class($error, $phpbb_root_path, $phpEx, null, $config, $this->db, $user); } |