1
0
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:
Marc Alexander
2019-11-25 22:16:41 +01:00
parent bc045fd19b
commit 380b7d0a98
2 changed files with 5 additions and 10 deletions

View File

@@ -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();
}
}