MDL-72701 core: Improve code coverage for core

This commit is contained in:
Andrew Nicols
2021-12-21 09:24:00 +08:00
parent 3a70983d53
commit a7f6c8cdcd
16 changed files with 553 additions and 28 deletions
+2 -3
View File
@@ -22,16 +22,15 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
/**
* Unit tests tests for has_capability.
*
* @package core
* @copyright 2018 Andrew Nicols <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @covers ::has_capability
*/
class accesslib_has_capability_testcase extends \advanced_testcase {
class accesslib_has_capability_test extends \advanced_testcase {
/**
* Unit tests to check the operation of locked contexts.