Skip to content

Commit e299c06

Browse files
author
Sasha Anastasi
committed
config test: explicitly declare class property
> Resolves error 'Creation of dynamic property tool_forcedcache_cache_config_test:: is deprecated'
1 parent cd29909 commit e299c06

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/cache_config_test.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
*/
2828
class cache_config_test extends \advanced_testcase {
2929

30+
/**
31+
* Temporary directory for loading config into
32+
*
33+
* @var string
34+
*/
35+
private $tmpdir;
36+
3037
/**
3138
* We need to load the config files outside of the $CFG->dirroot, so it
3239
* will be copied out as part of these tests.

0 commit comments

Comments
 (0)