moodle/admin/roles/tests
Eloy Lafuente (stronk7) ad5fe71868
MDL-82207 phpunit: fix various @covers annotations (take#1)
This fixes various (not all) wrong @covers annotations that
are reported as warnings by PHPUnit when it's run with
code-coverage enabled.

When possible, the preferred solution is to change to
@covers at class level, that is the recommended way.

If multiple classes are involved, then a mix of @coversDefaultClass
and @covers at method level are used (always trying to use the
minimum needed patch).

This is the first of a series of issues created as sub-tasks
of MDL-82142.
2024-06-24 12:07:39 +02:00
..
behat MDL-73848 administration: Add tests for breadcrumbs and nav highlights 2022-03-25 17:44:58 +08:00
fixtures MDL-74936 core: tidy up context API 2023-03-31 23:09:39 +02:00
privacy MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
reportbuilder/datasource MDL-82207 phpunit: fix various @covers annotations (take#1) 2024-06-24 12:07:39 +02:00
preset_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00