-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.7, 4.1.2
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-77659_401 -
The following PHPUnit tests in core_reportbuilder\local\helpers\user_profile_fields_test.php fail when other user profile fields exist
core_reportbuilder\local\helpers\user_profile_fields_test::test_get_columns
Failed asserting that actual size 7 matches expected size 6.
/var/www/html/reportbuilder/tests/local/helpers/user_profile_fields_test.php:87/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
core_reportbuilder\local\helpers\user_profile_fields_test::test_get_filters
Failed asserting that actual size 7 matches expected size 6.
/var/www/html/reportbuilder/tests/local/helpers/user_profile_fields_test.php:157
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
- has been marked as being related by
-
MDL-62483 Should be harder to write fragile unit tests that make unwarranted assumptions about a new Moodle install
- Open