Commit Graph

2 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) a65c0bbc0a MDL-71847 course: small tests fixes.
1) Namespace must match the one being covered.
2) the @covers annotation was wrong, missing class name(s). At the
   end I've used the coversDefaultClass annotation that allows to
   specify a whole namespace, useful in this case to get the 3
   existing (course, section, cm) classes covered.
2021-08-23 20:14:51 +02:00
Ilya Tregubov 7226a0fe5f MDL-71847 course: Cover state classes with direct unit tests. 2021-07-09 13:43:17 +02:00