From cf1fc202975aa055d0bb926a5dce1c3896bbd1e1 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 7 Jan 2016 10:31:21 +0100 Subject: [ticket/14394] Only purge cache in functional tests if necessary PHPBB3-14394 --- tests/functional/extension_global_lang_test.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/functional/extension_global_lang_test.php') diff --git a/tests/functional/extension_global_lang_test.php b/tests/functional/extension_global_lang_test.php index 53bb9af5ca..f615114c08 100644 --- a/tests/functional/extension_global_lang_test.php +++ b/tests/functional/extension_global_lang_test.php @@ -52,6 +52,13 @@ class phpbb_functional_extension_global_lang_test extends phpbb_functional_test_ $this->purge_cache(); } + public function tearDown() + { + parent::tearDown(); + + $this->purge_cache(); + } + public function test_load_extension_lang_globally() { $this->phpbb_extension_manager->enable('foo/bar'); -- cgit v1.2.1