mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Replace deprecated testcase classes with core_phpunit
This commit is contained in:
committed by
Noemie Ariste
parent
03362c084c
commit
d3b5ed73aa
@@ -35,7 +35,7 @@ use auth_outage\local\outage;
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
abstract class base_testcase extends \advanced_testcase {
|
||||
abstract class base_testcase extends \core_phpunit\testcase {
|
||||
/**
|
||||
* Checks PHPUnit version and calls the functions accordingly.
|
||||
* @param string $exception Expected exception class.
|
||||
|
||||
@@ -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\calendar\calendar
|
||||
*/
|
||||
class calendar_test extends \advanced_testcase {
|
||||
class calendar_test extends \core_phpunit\testcase {
|
||||
/**
|
||||
* @var outage|null The calendar entry owner.
|
||||
*/
|
||||
|
||||
@@ -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 \advanced_testcase {
|
||||
class events_test extends \core_phpunit\testcase {
|
||||
/**
|
||||
* @var outage|null Outage used in the tests.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user