-
Functional Test
-
Blocker
-
Moodle 3.11
-
None
- Log in as teacher and go to a course.
- Ensure you don't see 'Recycle bin' link either via the gear menu or in the Administration. block (depending upon your theme).
- Turn editing on and add an activity e.g. a forum, and click the 'Save and return to course' button.
- Delete the activity.
- Verify that you now see a 'Recycle bin' link either via the gear menu or in the Administration block (depending upon your theme). Note that the 'Recycle bin' link only appears after the cron has run, so you may need to wait a moment and then refresh the page.
- Follow the 'Recycle bin' link and verify that the deleted activity is listed.
- Click Restore and verify that the message '
{Activity_NAME}
has been restored.' is displayed.
- Return to the course page and verify that the activity is shown.
- is a QA test written for
-
MDL-48012 Integrate the 'local_recyclebin' plugin into core
- Closed