-
Bug
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_403_STABLE
-
MDL-78648-master -
We started getting random failures related to test_get_user_badge_by_hash unit test after MDL-74570 was integrated.
Console output
1) core_badges\external\get_user_badge_by_hash_test::test_get_user_badge_by_hash
|
Failed asserting that two arrays are equal.
|
--- Expected
|
+++ Actual
|
@@ @@
|
'name' => 'Test badge site'
|
'description' => 'Testing badges site'
|
'timecreated' => 1688511867
|
- 'timemodified' => 1688511867
|
+ 'timemodified' => 1688511868
|
'usercreated' => 5
|
'usermodified' => 5
|
'expiredate' => null
|
|
/var/www/html/badges/tests/external/get_user_badge_by_hash_test.php:187
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:94
|