Merge branch 'MDL-62140_master' of git://github.com/markn86/moodle
[moodle.git] / privacy / tests / contextlist_test.php
index 35bf88c..736e523 100644 (file)
@@ -74,6 +74,7 @@ class contextlist_test extends advanced_testcase {
         $this->resetAfterTest();
 
         $user = $this->getDataGenerator()->create_user();
+        $this->getDataGenerator()->create_user();
 
         $cl = new contextlist();
         $cl->add_user_context($user->id);
@@ -93,6 +94,7 @@ class contextlist_test extends advanced_testcase {
 
         $user1 = $this->getDataGenerator()->create_user();
         $user2 = $this->getDataGenerator()->create_user();
+        $this->getDataGenerator()->create_user();
 
         $cl = new contextlist();
         $cl->add_user_contexts([$user1->id, $user2->id]);