Skip to content

Commit 8121758

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 5d8b75a commit 8121758

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
@@ -25,6 +25,13 @@
2525
*/
2626
class tool_forcedcache_cache_config_test extends \core_phpunit\testcase {
2727

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

0 commit comments

Comments
 (0)