MDL-68333 testing: trigger user_created event in user generator

This commit is contained in:
Marina Glancy
2020-05-19 19:11:54 +02:00
parent 1afe68f382
commit 5b529aca15
13 changed files with 102 additions and 90 deletions
-2
View File
@@ -2749,8 +2749,6 @@ class core_accesslib_testcase extends advanced_testcase {
$bi = $generator->create_block('online_users', array('parentcontextid'=>$usercontext->id));
$testblocks[] = $bi->id;
}
// Deleted user - should be ignored everywhere, can not have context.
$generator->create_user(array('deleted'=>1));
// Add block to frontpage.
$bi = $generator->create_block('online_users', array('parentcontextid'=>$frontpagecontext->id));