aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/extension_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/extension_test.php')
-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';