mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/15905] Reset avatar manager enabled drivers property
PHPBB3-15905
This commit is contained in:
parent
e00a154882
commit
f05022941d
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||||
]));
|
]));
|
||||||
$phpbb_container->set('path_helper', $phpbb_path_helper);
|
$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';
|
$this->template_path = $this->test_path . '/templates';
|
||||||
|
|
||||||
$cache_path = $phpbb_root_path . 'cache/twig';
|
$cache_path = $phpbb_root_path . 'cache/twig';
|
||||||
|
|
Loading…
Add table
Reference in a new issue