mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Fixed PHPUnit table problem after uninstalling plugin.
This commit is contained in:
1 parent
22c158949c
commit
e07ae94cd2
1 file changed
+4
@@ -82,5 +82,9 @@ class installation_test extends auth_outage_base_testcase {
|
||||
'Maintenance later must not be set.'); // Issue #57.
|
||||
self::assertFalse($dbman->table_exists('auth_outage'),
|
||||
'Table "auth_outage" was not dropped.');
|
||||
|
||||
// Create tables back so tests do not fail with MySQL ...
|
||||
require_once($CFG->libdir.'/upgradelib.php');
|
||||
$DB->get_manager()->install_from_xmldb_file($CFG->dirroot.'/auth/outage/db/install.xml');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user