Closed nhoobin closed 3 years ago
I'll note this resolves issue #152 'outagelib_test should extend base test class auth_outage_base_testcase'
Potentially resolves #166 'Using auth_outage on Totara13-release flavored Moodle causes PHPunit test failures'
For some reason, $this->resetAfterTest(true); is not resetting the outage table in T12 (probably T11/13 too)
Adding an explicit tearDown to clean up the auth_outage table.
I did not use the outagelib::delete() function as it called calendar::delete() on outages that did not exist proper.