mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 12:22:03 +02:00
[ticket/15905] Reset avatar manager enabled drivers property
PHPBB3-15905
This commit is contained in:
parent
e00a154882
commit
f05022941d
@ -62,6 +62,11 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
]));
|
||||
$phpbb_container->set('path_helper', $phpbb_path_helper);
|
||||
|
||||
$class = new ReflectionClass('\phpbb\avatar\manager');
|
||||
$enabled_drivers = $class->getProperty('enabled_drivers');
|
||||
$enabled_drivers->setAccessible(true);
|
||||
$enabled_drivers->setValue(false);
|
||||
|
||||
$this->template_path = $this->test_path . '/templates';
|
||||
|
||||
$cache_path = $phpbb_root_path . 'cache/twig';
|
||||
|
Loading…
x
Reference in New Issue
Block a user