aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-09-28 11:58:02 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-09-28 11:58:02 +0200
commitf05022941de0c8ec647cc7bcf67be997d2370b77 (patch)
tree28133b882be947eadb3701a7cdae58cc3faedd1c
parente00a1548821ce500fbe5a39416c7b2e8619112a1 (diff)
downloadforums-f05022941de0c8ec647cc7bcf67be997d2370b77.tar
forums-f05022941de0c8ec647cc7bcf67be997d2370b77.tar.gz
forums-f05022941de0c8ec647cc7bcf67be997d2370b77.tar.bz2
forums-f05022941de0c8ec647cc7bcf67be997d2370b77.tar.xz
forums-f05022941de0c8ec647cc7bcf67be997d2370b77.zip
[ticket/15905] Reset avatar manager enabled drivers property
PHPBB3-15905
-rw-r--r--tests/template/extension_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/template/extension_test.php b/tests/template/extension_test.php
index eba06b5c63..d633001060 100644
--- a/tests/template/extension_test.php
+++ b/tests/template/extension_test.php
@@ -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';