Skip to content

Commit

Permalink
Merge branch 'MDL-77611_401' of https://github.com/timhunt/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_401_STABLE
  • Loading branch information
junpataleta committed Mar 15, 2023
2 parents 6c260e6 + a5238d8 commit d533182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/tool/uploaduser/tests/cli_test.php
Expand Up @@ -143,7 +143,8 @@ public function test_upload_with_profile_fields() {
// Created users have data in the profile fields.
$user1 = \core_user::get_user_by_username('reznort');
$profilefields1 = profile_user_record($user1->id);
$this->assertEquals((object)['superfield' => 'Loves cats'], $profilefields1);
$this->assertObjectHasAttribute('superfield', $profilefields1);
$this->assertEquals('Loves cats', $profilefields1->superfield);
}

/**
Expand Down

0 comments on commit d533182

Please sign in to comment.