From 3b6f646a730030492919cce9d8f55fc9d7940c1f Mon Sep 17 00:00:00 2001 From: Stefan Hanauska Date: Tue, 26 Mar 2024 09:53:01 +0100 Subject: [PATCH] MBS-8974: Make unit tests final --- tests/boardmanager_test.php | 2 +- tests/change_kanban_content_test.php | 2 +- tests/generation_test.php | 2 +- tests/task/reminder_test.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/boardmanager_test.php b/tests/boardmanager_test.php index 136ee125..d3118a5e 100644 --- a/tests/boardmanager_test.php +++ b/tests/boardmanager_test.php @@ -27,7 +27,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \mod_kanban\boardmanager */ -class boardmanager_test extends \advanced_testcase { +final class boardmanager_test extends \advanced_testcase { /** @var \stdClass The course used for testing */ private $course; /** @var \stdClass The kanban used for testing */ diff --git a/tests/change_kanban_content_test.php b/tests/change_kanban_content_test.php index c2d7b698..110692bf 100644 --- a/tests/change_kanban_content_test.php +++ b/tests/change_kanban_content_test.php @@ -26,7 +26,7 @@ * @covers \mod_kanban\external\change_kanban_content * @runTestsInSeparateProcesses */ -class change_kanban_content_test extends \advanced_testcase { +final class change_kanban_content_test extends \advanced_testcase { /** @var \stdClass The course used for testing */ private $course; /** @var \stdClass The kanban used for testing */ diff --git a/tests/generation_test.php b/tests/generation_test.php index 22cdf3bc..5fb2a920 100644 --- a/tests/generation_test.php +++ b/tests/generation_test.php @@ -25,7 +25,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \mod_kanban_generator */ -class generation_test extends \advanced_testcase { +final class generation_test extends \advanced_testcase { /** * Tests the data generator for this module * diff --git a/tests/task/reminder_test.php b/tests/task/reminder_test.php index 96328b6b..6b9afe3b 100644 --- a/tests/task/reminder_test.php +++ b/tests/task/reminder_test.php @@ -27,7 +27,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @covers \mod_kanban\task\reminder */ -class reminder_test extends \advanced_testcase { +final class reminder_test extends \advanced_testcase { /** @var \stdClass The course used for testing */ private $course; /** @var \stdClass The kanban used for testing */