Commit 4f0b5871 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

Merge branch 'MDL-70967-master' of git://github.com/marinaglancy/moodle

parents 2c0038f7 ef99a587
......@@ -1055,7 +1055,8 @@ class enrol_meta_plugin_testcase extends advanced_testcase {
$this->assertArrayHasKey('customint2', $errors);
// Test with valid data.
$validgroup = reset($groups);
reset($groups);
$validgroup = key($groups);
$data = [
'customint1' => [$metacourse2->id],
'customint2' => $validgroup
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment