diff options
author | Igor Wiedler <igor@wiedler.ch> | 2013-07-11 17:54:03 -0400 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2013-07-11 18:04:40 -0400 |
commit | 1a5d685f45e5fd4450750227ef2eefe34a9b482a (patch) | |
tree | c73082cdd293b9f5afd88beb728211ee914ca93b /tests/template | |
parent | bdd1d4d132ce3e1491c8b8509c3b5958887ed1de (diff) | |
download | forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.gz forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.bz2 forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.tar.xz forums-1a5d685f45e5fd4450750227ef2eefe34a9b482a.zip |
[feature/bootstrap-dic] Bootstrap container from config.php
PHPBB3-11651
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/template_test_case.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php index 3e2cd5a387..4a7bf8d168 100644 --- a/tests/template/template_test_case.php +++ b/tests/template/template_test_case.php @@ -84,7 +84,10 @@ class phpbb_template_template_test_case extends phpbb_test_case protected function tearDown() { - $this->template->clear_cache(); + if ($this->template) + { + $this->template->clear_cache(); + } } protected function run_template($file, array $vars, array $block_vars, array $destroy, $expected, $lang_vars = array()) |