mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-75880 phpunit: fix all @coversDefaultClass missing @covers
Because @coversDefaultClass doesn't indicate any coverage (it's just an alias to avoid having to write the class name in @covers), this commit fixes all the files that were using that annotation and missing any @covers. Basically, replacing one by the other and done.
This commit is contained in:
parent
fee1b8ce5f
commit
d590b08dfa
17 changed files with 45 additions and 89 deletions
|
@ -42,7 +42,7 @@ class state_test extends \advanced_testcase {
|
|||
* Test the behaviour of state::export_for_template().
|
||||
*
|
||||
* @dataProvider state_provider
|
||||
* @coversDefaultClass \core_courseformat\output\local\state
|
||||
* @covers \core_courseformat\output\local\state
|
||||
*
|
||||
* @param string $format The course format of the course where the method will be executed.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue