From 46ea1f88a1d3cc2f728cd5a9bf1f563ebec0e6c3 Mon Sep 17 00:00:00 2001 From: Patryk Mroczko Date: Fri, 25 Oct 2024 09:51:31 +0200 Subject: [PATCH] Fix Moodle plugin CI errors in local_onenote --- local/onenote/tests/privacy_provider_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/onenote/tests/privacy_provider_test.php b/local/onenote/tests/privacy_provider_test.php index 56b30f596..90cdb67df 100644 --- a/local/onenote/tests/privacy_provider_test.php +++ b/local/onenote/tests/privacy_provider_test.php @@ -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) {