-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.6, 2.0
-
None
-
Any
-
MOODLE_19_STABLE, MOODLE_20_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
-
Easy
It seems that the tables created by the XMLDB Editor test aren't dropped ever.
So we need to introduce this at the end of the test action:
/// Finally drop all the potentially existing test tables
|
$table = new XMLDBTable('testtable');
|
if (table_exists($table)) {
|
$status = drop_table($table, true, false);
|
}
|
$table = new XMLDBTable ('anothertest');
|
if (table_exists($table)) {
|
$status = drop_table($table, true, false);
|
}
|
$table = new XMLDBTable ('newnameforthetable');
|
if (table_exists($table)) {
|
$status = drop_table($table, true, false);
|
}
|
To be done after 1.9.6 release.