Commit c6947dd8 authored by Petr Skoda's avatar Petr Skoda
Browse files

Merge branch 'MDL-26029' of git://github.com/timhunt/moodle

parents af929b8d 897fee6b
......@@ -180,6 +180,8 @@ class CheckSpecifiedFieldsExpectation extends SimpleExpectation {
// OK
} else if (is_null($value) && is_null($actual->$key)) {
// OK
} else if (!isset($actual->$key)) {
$mismatches[] = $key . ' (expected [' . $value . '] but was missing.';
} else {
$mismatches[] = $key . ' (expected [' . $value . '] got [' . $actual->$key . '].';
}
......
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