Skip to content

Commit

Permalink
Fix Moodle plugin CI errors in local_onenote
Browse files Browse the repository at this point in the history
  • Loading branch information
patmr7 committed Oct 25, 2024
1 parent 72c4c4b commit 46ea1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/onenote/tests/privacy_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function test_export_user_data(): void {

$writer = writer::with_context($usercontext);
$this->assertFalse($writer->has_any_data());
$approvedlist = new core_privacy\local\request\approved_contextlist($user, 'local_onenote', [$usercontext->id]);
$approvedlist = new approved_contextlist($user, 'local_onenote', [$usercontext->id]);
provider::export_user_data($approvedlist);

foreach ($userrecords as $table => $record) {
Expand Down

0 comments on commit 46ea1f8

Please sign in to comment.