mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
Compare commits
2 commits
5fd622f318
...
2968c2859a
Author | SHA1 | Date | |
---|---|---|---|
|
2968c2859a | ||
|
70160d646c |
1 changed files with 1 additions and 3 deletions
|
@ -223,8 +223,6 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||||
|
|
||||||
public function test_caching_search_results()
|
public function test_caching_search_results()
|
||||||
{
|
{
|
||||||
global $phpbb_root_path;
|
|
||||||
|
|
||||||
// Sphinx search doesn't use phpBB search results caching
|
// Sphinx search doesn't use phpBB search results caching
|
||||||
if (strpos($this->search_backend, 'fulltext_sphinx'))
|
if (strpos($this->search_backend, 'fulltext_sphinx'))
|
||||||
{
|
{
|
||||||
|
@ -328,7 +326,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||||
$finder
|
$finder
|
||||||
->name('data_search_results_*.php')
|
->name('data_search_results_*.php')
|
||||||
->files()
|
->files()
|
||||||
->in($phpbb_root_path . 'cache/' . PHPBB_ENVIRONMENT);
|
->in(__DIR__ . '/../../../phpBB/cache/' . PHPBB_ENVIRONMENT);
|
||||||
$iterator = $finder->getIterator();
|
$iterator = $finder->getIterator();
|
||||||
$iterator->rewind();
|
$iterator->rewind();
|
||||||
$cache_filename = $iterator->current();
|
$cache_filename = $iterator->current();
|
||||||
|
|
Loading…
Add table
Reference in a new issue