Fix CourseStoreTest after change to DatabaseBase

Change 90653 (https://gerrit.wikimedia.org/r/#/c/90653/4)
deprecates the constructor previously used for obtaining
a database mock in CourseStoreTest, causing the test
to fail.

Change-Id: I3e31f913fb3f7c922f3ce4153212c769b90ced26