MDL-15666 MDL-16486

This commit is contained in:
nicolasconnault 2008-09-17 14:41:16 +00:00
parent c7d306e168
commit 294c7286c3

View File

@ -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;