aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_global_lang_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-01-07 10:31:21 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-07 10:46:43 +0100
commitcf1fc202975aa055d0bb926a5dce1c3896bbd1e1 (patch)
treee578dc44991130826993f07a1a27f87c40649ecc /tests/functional/extension_global_lang_test.php
parente75c04f02a951b3cdc0a754fee7e58d7a8d6a4a4 (diff)
downloadforums-cf1fc202975aa055d0bb926a5dce1c3896bbd1e1.tar
forums-cf1fc202975aa055d0bb926a5dce1c3896bbd1e1.tar.gz
forums-cf1fc202975aa055d0bb926a5dce1c3896bbd1e1.tar.bz2
forums-cf1fc202975aa055d0bb926a5dce1c3896bbd1e1.tar.xz
forums-cf1fc202975aa055d0bb926a5dce1c3896bbd1e1.zip
[ticket/14394] Only purge cache in functional tests if necessary
PHPBB3-14394
Diffstat (limited to 'tests/functional/extension_global_lang_test.php')
-rw-r--r--tests/functional/extension_global_lang_test.php7
1 files changed, 7 insertions, 0 deletions
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');