Git commits in Moodle 3.8.6 by Mihail Geshoski

commit 57fb23822ba1776e4c6def3a8d2b276a2b86f28e
Author: Mihail Geshoski <mihail@moodle.com>
Date:   Tue, 22 Sep 2020 16:09:59 +0800
Tag:    v3.8.6

MDL-67837 backup: Add unit tests

commit 2dfebe709e0668f53952e61d5ae2ae427af75011
Author: Mihail Geshoski <mihail@moodle.com>
Date:   Tue, 22 Sep 2020 16:09:35 +0800
Tag:    v3.8.6

MDL-67837 backup: Verify caps before unenrolling users on course restore