From f1f4e948eb48c47931df3f1439cec264794fcc80 Mon Sep 17 00:00:00 2001 From: Sasha Anastasi Date: Mon, 10 Feb 2025 12:31:31 +1300 Subject: [PATCH] Replace deprecated testcase classes with core_phpunit and remove namespace --- tests/cache_config_test.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/cache_config_test.php b/tests/cache_config_test.php index 81e6294..1cee6d0 100644 --- a/tests/cache_config_test.php +++ b/tests/cache_config_test.php @@ -14,8 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . -namespace tool_forcedcache; - /** * Tests for tool_forcedcache_cache_config. * @@ -25,7 +23,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \tool_forcedcache_cache_config */ -class cache_config_test extends \advanced_testcase { +class tool_forcedcache_cache_config_test extends \core_phpunit\testcase { /** * We need to load the config files outside of the $CFG->dirroot, so it