-
Bug
-
Resolution: Fixed
-
Minor
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-65726-master -
If a plugin creates a role in its install.php the core unittest fails.
We need to be able to create some roles on install and we also want to have all core unittests passing.
The unittest
$this->assertCount(8, $allroles); // There are 8 roles is standard install.
|
can be replaced with one that checks that standard roles were indeed created but without counting them.