mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'MDL-63921-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
60e265e76f
1 changed files with 11 additions and 0 deletions
|
@ -201,6 +201,17 @@ class provider_testcase extends advanced_testcase {
|
||||||
$this->assertInstanceOf(\core_privacy\local\request\contextlist::class, $contextlist);
|
$this->assertInstanceOf(\core_privacy\local\request\contextlist::class, $contextlist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ensure that providers do not throw an error when processing a deleted user.
|
||||||
|
*
|
||||||
|
* @dataProvider is_user_data_provider
|
||||||
|
* @param string $component
|
||||||
|
*/
|
||||||
|
public function test_userdata_provider_implements_userlist($component) {
|
||||||
|
$classname = manager::get_provider_classname_for_component($component);
|
||||||
|
$this->assertTrue(is_subclass_of($classname, \core_privacy\local\request\core_userlist_provider::class));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Data provider for the metadata\provider tests.
|
* Data provider for the metadata\provider tests.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue