Skip to content

Commit

Permalink
Merge branch 'MDL-70967-master' of git://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Mar 10, 2021
2 parents 2c0038f + ef99a58 commit 4f0b587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion enrol/meta/tests/plugin_test.php
Expand Up @@ -1055,7 +1055,8 @@ public function test_edit_instance_validation() {
$this->assertArrayHasKey('customint2', $errors);

// Test with valid data.
$validgroup = reset($groups);
reset($groups);
$validgroup = key($groups);
$data = [
'customint1' => [$metacourse2->id],
'customint2' => $validgroup
Expand Down

0 comments on commit 4f0b587

Please sign in to comment.