MDL-48362 enrol_cohort: Fix unit test by manually triggering sync
MDL-48362 enrol_cohort: Fix unit test by manually triggering sync

Sync is now automatically triggered by add/update instance. We need
to manually trigger sync before each part of the test to clean up
role assignments from the previous test.

dilawar/moodle