MDL-39957 course: added missing assertions for events
MDL-39957 course: added missing assertions for events

This occurred when an add_to_log call, with no associated legacy event,
was replaced with a new event. We should still call assertEventLegacyData
even though there is no legacy event data to compare with, simply ensure
that the expected data was passed.

dilawar/moodle