mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/16223] Use constructor arguments instead of func_get_args()
PHPBB3-16223
This commit is contained in:
2
tests/cache/memcached_test.php
vendored
2
tests/cache/memcached_test.php
vendored
@@ -59,7 +59,7 @@ class phpbb_cache_memcached_driver_test extends \phpbb_cache_common_test_case
|
||||
|
||||
$phpbb_container = new phpbb_mock_container_builder();
|
||||
$phpbb_container->setParameter('core.cache_dir', $phpbb_root_path . 'cache/' . PHPBB_ENVIRONMENT . '/');
|
||||
$this->driver = new \phpbb\cache\driver\memcached(self::$config['host'], self::$config['port']);
|
||||
$this->driver = new \phpbb\cache\driver\memcached(self::$config['host'] . '/' . self::$config['port']);
|
||||
$this->driver->purge();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user