mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 13:24:56 +01:00
Merge branch 'MDL-26029' of git://github.com/timhunt/moodle
This commit is contained in:
commit
c6947dd878
@ -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 . '].';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user