Skip to content

Commit

Permalink
MDL-68981 tool_recyclebin: Extra PHPUnit with General restore config
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Nov 28, 2022
1 parent d1fab0c commit e4fde5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions admin/tool/recyclebin/tests/category_bin_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ public function recycle_bin_settings_provider() {
(object)['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 2],
(object)['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true],
]],

'restore/restore_general_users moodle' => [[
(object)['plugin' => 'restore', 'name' => 'restore_general_users', 'value' => 0],
(object)['plugin' => 'restore', 'name' => 'restore_general_groups', 'value' => 0],
]],
];
}

Expand Down
5 changes: 5 additions & 0 deletions admin/tool/recyclebin/tests/course_bin_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ public function recycle_bin_settings_provider() {
(object)['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 2],
(object)['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true],
]],

'restore/restore_general_users moodle' => [[
(object)['plugin' => 'restore', 'name' => 'restore_general_users', 'value' => 0],
(object)['plugin' => 'restore', 'name' => 'restore_general_groups', 'value' => 0],
]],
];
}

Expand Down

0 comments on commit e4fde5a

Please sign in to comment.