41
41
*
42
42
* @copyright Microsoft, Inc.
43
43
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
44
+ * @covers \assignsubmission_onenote\privacy\provider
44
45
*/
45
46
final class provider_test extends \mod_assign \privacy \provider_test {
46
47
/**
47
48
* Quick test to make sure that get_metadata returns something.
48
49
*
49
- * @covers provider::get_metadata
50
+ * @covers \assignsubmission_onenote\privacy\ provider::get_metadata
50
51
*/
51
52
public function test_get_metadata (): void {
52
53
$ collection = new collection ('assignsubmission_onenote ' );
@@ -57,7 +58,7 @@ public function test_get_metadata(): void {
57
58
/**
58
59
* Test that comments are exported for a user.
59
60
*
60
- * @covers provider::export_submission_user_data
61
+ * @covers \assignsubmission_onenote\privacy\ provider::export_submission_user_data
61
62
*/
62
63
public function test_export_submission_user_data (): void {
63
64
$ this ->resetAfterTest ();
@@ -95,7 +96,7 @@ public function test_export_submission_user_data(): void {
95
96
/**
96
97
* Test that all comments are deleted for this context.
97
98
*
98
- * @covers provider::delete_submission_for_context
99
+ * @covers \assignsubmission_onenote\privacy\ provider::delete_submission_for_context
99
100
*/
100
101
public function test_delete_submission_for_context (): void {
101
102
$ this ->resetAfterTest ();
@@ -138,7 +139,7 @@ public function test_delete_submission_for_context(): void {
138
139
139
140
/**
140
141
* Test that the comments for a user are deleted.
141
- * @covers provider::delete_submission_for_userid
142
+ * @covers \assignsubmission_onenote\privacy\ provider::delete_submission_for_userid
142
143
*/
143
144
public function test_delete_submission_for_userid (): void {
144
145
$ this ->resetAfterTest ();
@@ -183,7 +184,7 @@ public function test_delete_submission_for_userid(): void {
183
184
184
185
/**
185
186
* Test deletion of all submissions for a context works.
186
- * @covers provider::delete_submissions
187
+ * @covers \assignsubmission_onenote\privacy\ provider::delete_submissions
187
188
*/
188
189
public function test_delete_submissions (): void {
189
190
global $ DB ;
0 commit comments