mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +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
|
@ -14,15 +14,6 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Unit tests for core_table\local\filter\filter.
|
||||
*
|
||||
* @package core_table
|
||||
* @category test
|
||||
* @copyright 2020 Andrew Nicols <andrew@nicols.co.uk>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace core_table\local\filter;
|
||||
|
@ -33,11 +24,11 @@ use InvalidArgumentException;
|
|||
/**
|
||||
* Unit tests for core_table\local\filter\filter.
|
||||
*
|
||||
* @coversDefaultClass \core_table\local\filter\filter
|
||||
* @package core_table
|
||||
* @category test
|
||||
* @copyright 2020 Andrew Nicols <andrew@nicols.co.uk>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @covers \core_table\local\filter\filter
|
||||
*/
|
||||
class filter_test extends advanced_testcase {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue