mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
MDL-56228 phpunit: Force sort order in mod data generator test
This commit is contained in:
parent
d9520bc04e
commit
4c1bc2422d
@ -207,7 +207,7 @@ class mod_data_generator_testcase extends advanced_testcase {
|
|||||||
$entry = $DB->get_record('data_records', array('id' => $datarecordid));
|
$entry = $DB->get_record('data_records', array('id' => $datarecordid));
|
||||||
$this->assertEquals($entry->groupid, $groupa->id);
|
$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;
|
$contentstartid = 0;
|
||||||
$flag = 0;
|
$flag = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user