From cff0f3fbe3d83fede8139ac7060629da2b64d726 Mon Sep 17 00:00:00 2001 From: Sasha Anastasi Date: Thu, 27 Feb 2025 08:59:31 +1300 Subject: [PATCH] update test classes --- tests/dml/events_test.php | 2 +- tests/lib_test.php | 2 +- tests/local/cli/create_test.php | 2 +- tests/local/cli/finish_test.php | 2 +- tests/local/cli/waitforit_test.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/dml/events_test.php b/tests/dml/events_test.php index c9f66df..c65d144 100644 --- a/tests/dml/events_test.php +++ b/tests/dml/events_test.php @@ -39,7 +39,7 @@ use auth_outage\local\outage; * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \auth_outage\dml\outagedb */ -class events_test extends \core_phpunit\testcase { +class dml_events_test extends \core_phpunit\testcase { /** * @var outage|null Outage used in the tests. */ diff --git a/tests/lib_test.php b/tests/lib_test.php index ec53cbe..0c08a25 100644 --- a/tests/lib_test.php +++ b/tests/lib_test.php @@ -29,7 +29,7 @@ require_once(__DIR__.'/../lib.php'); * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers ::auth_outage_get_climaintenance_resource_file */ -class lib_test extends base_testcase { +class lib_test extends \core_phpunit\testcase { /** * Test this plugin gets climaintenance resource file. */ diff --git a/tests/local/cli/create_test.php b/tests/local/cli/create_test.php index 9e5f8be..6b94a21 100644 --- a/tests/local/cli/create_test.php +++ b/tests/local/cli/create_test.php @@ -40,7 +40,7 @@ require_once(__DIR__.'/cli_testcase.php'); * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \auth_outage\local\cli\create */ -class create_test extends cli_testcase { +class cli_create_test extends cli_testcase { public function tearDown(): void { parent::tearDown(); diff --git a/tests/local/cli/finish_test.php b/tests/local/cli/finish_test.php index c8fbf8a..48c2443 100644 --- a/tests/local/cli/finish_test.php +++ b/tests/local/cli/finish_test.php @@ -40,7 +40,7 @@ require_once(__DIR__.'/cli_testcase.php'); * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \auth_outage\local\cli\finish */ -class finish_test extends cli_testcase { +class cli_finish_test extends cli_testcase { public function tearDown(): void { parent::tearDown(); diff --git a/tests/local/cli/waitforit_test.php b/tests/local/cli/waitforit_test.php index 7a3e74b..0197bfe 100644 --- a/tests/local/cli/waitforit_test.php +++ b/tests/local/cli/waitforit_test.php @@ -40,7 +40,7 @@ require_once(__DIR__.'/cli_testcase.php'); * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \auth_outage\local\cli\waitforit */ -class waitforit_test extends cli_testcase { +class cli_waitforit_test extends cli_testcase { public function tearDown(): void { parent::tearDown();