Merge branch 'MDL-56228-master' of https://github.com/snake/moodle
This commit is contained in:
@@ -207,7 +207,7 @@ class mod_data_generator_testcase extends advanced_testcase {
|
||||
$entry = $DB->get_record('data_records', array('id' => $datarecordid));
|
||||
$this->assertEquals($entry->groupid, $groupa->id);
|
||||
|
||||
$contents = $DB->get_records('data_content', array('recordid' => $datarecordid));
|
||||
$contents = $DB->get_records('data_content', array('recordid' => $datarecordid), 'id');
|
||||
|
||||
$contentstartid = 0;
|
||||
$flag = 0;
|
||||
|
||||
Reference in New Issue
Block a user