mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge branch 'ticket/15392' into ticket/15392-master
This commit is contained in:
4
tests/console/cache/purge_test.php
vendored
4
tests/console/cache/purge_test.php
vendored
@@ -15,7 +15,7 @@ use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
use phpbb\console\command\cache\purge;
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../phpBB/includes/functions_admin.php';
|
||||
require_once __DIR__ . '/../../../phpBB/includes/functions_admin.php';
|
||||
|
||||
class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
{
|
||||
@@ -30,7 +30,7 @@ class phpbb_console_command_cache_purge_test extends phpbb_test_case
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$this->cache_dir = dirname(__FILE__) . '/tmp/cache/';
|
||||
$this->cache_dir = __DIR__ . '/tmp/cache/';
|
||||
|
||||
if (file_exists($this->cache_dir))
|
||||
{
|
||||
|
Reference in New Issue
Block a user