aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_global_lang_test.php
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2016-01-08 14:28:03 +0100
committerMate Bartus <mate.bartus@gmail.com>2016-01-08 14:28:03 +0100
commit2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8 (patch)
treef38c77fecc0259e161b62f158ea7b78d33f0073a /tests/functional/extension_global_lang_test.php
parentd3ca327f2c6bf8600439d6a928efbe9f0a545343 (diff)
parent2f7517a0fecc1c563c0d023eac0cd3057f77e13b (diff)
downloadforums-2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8.tar
forums-2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8.tar.gz
forums-2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8.tar.bz2
forums-2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8.tar.xz
forums-2efab1cf5a2bc8e4096ce8b3b34648012c13e8d8.zip
Merge branch '3.1.x'
* 3.1.x: [ticket/14394] Only purge cache in functional tests if necessary
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');