Skip to content

Commit

Permalink
Merge branch 'WR-416501-fix-privacy-test' into 'main-catalyst'
Browse files Browse the repository at this point in the history
WR-416501 fix privacy test

See merge request elearning/mdl-report_customsql!10
  • Loading branch information
jay-oswald committed Dec 13, 2023
2 parents 8a226de + 40c30ec commit 626efc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/privacy_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function test_export_user_data(): void {
$subcontext = [
get_string('privacy:metadata:reportcustomsqlqueries', 'report_customsql')
];
$data = $writer->get_data($subcontext);
$data = (array)$writer->get_data($subcontext);
$this->assertEquals('Report of user 1', reset($data)['displayname']);
}

Expand Down

0 comments on commit 626efc3

Please sign in to comment.