mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-15666 MDL-16486
This commit is contained in:
parent
c7d306e168
commit
294c7286c3
@ -186,7 +186,7 @@ class MoodleUnitTestCase extends UnitTestCase {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($max_id = $DB->get_field_sql("SELECT MAX(id) FROM {$CFG->prefix}{$table}")) {
|
||||
if ($max_id = $DB->get_field_sql("SELECT MAX(id) FROM {$CFG->unittest_prefix}{$table}")) {
|
||||
$this->tables[$table] = $max_id;
|
||||
} else {
|
||||
$this->tables[$table] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user