mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #8 - Fixed failing phpunit tests.
This commit is contained in:
@@ -30,6 +30,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
|
||||
class outagedb_test extends advanced_testcase {
|
||||
/**
|
||||
* Ensure DB tests run as admin.
|
||||
*/
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
$this->setAdminUser();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an array of ids in from the given outages array.
|
||||
* @param $outages
|
||||
|
||||
Reference in New Issue
Block a user