1
0
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:
Marc Alexander 2019-09-28 11:58:02 +02:00
parent e00a154882
commit f05022941d
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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';