Commit 51894a81 authored by Committed by Andrew Nicols
MDL-63919 tool_dataprivacy: admin & notify fixes
This includes the following: 1) Replace $ADMIN->id by get_admin()->id. The former doesn't exist. 2) Only change the notify parameter when it has not been specified at creation time (null). If specified, observe it. 3) Set the current user in tests to admin, able to create those requests.
Showing with 6 additions and 2 deletions