Project: moodle
Issue MDL-46571: Write Unit Tests for the history report
Write Unit Tests to ensure that the queries are returning the expected result.
Story points: 20