-
Bug
-
Resolution: Fixed
-
Major
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-60779-master -
- Run PHPUnit tests for the core_calendar_testsuite.
- Confirm everything passes.
- Run PHPUnit tests for the core_calendar_testsuite.
While running PHPUnit tests on Windows 32-bit, I encountered the following errors:
2) core_calendar_externallib_testcase::test_get_calendar_monthly_view_no_course_permission
|
coding_exception: Coding error detected, it must be fixed by a programmer: getTimestamp() returned false, please ensure you have passed correct values. This can fail if year is more than 2038 and OS is 32 bit windows
|
|
C:\wamp\apps\integration_master\htdocs\lib\moodlelib.php:2097
|
C:\wamp\apps\integration_master\htdocs\calendar\classes\type_base.php:240
|
C:\wamp\apps\integration_master\htdocs\calendar\externallib.php:977
|
C:\wamp\apps\integration_master\htdocs\calendar\tests\externallib_test.php:2270
|
C:\wamp\apps\integration_master\htdocs\lib\phpunit\classes\advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit core_calendar_externallib_testcase calendar/tests/externallib_test.php
|
|
3) core_calendar_externallib_testcase::test_get_calendar_day_view_no_course_permission
|
coding_exception: Coding error detected, it must be fixed by a programmer: getTimestamp() returned false, please ensure you have passed correct values. This can fail if year is more than 2038 and OS is 32 bit windows
|
|
C:\wamp\apps\integration_master\htdocs\lib\moodlelib.php:2097
|
C:\wamp\apps\integration_master\htdocs\calendar\classes\type_base.php:240
|
C:\wamp\apps\integration_master\htdocs\calendar\externallib.php:1045
|
C:\wamp\apps\integration_master\htdocs\calendar\tests\externallib_test.php:2314
|
C:\wamp\apps\integration_master\htdocs\lib\phpunit\classes\advanced_testcase.php:80
|
|
To re-run:
|
vendor/bin/phpunit core_calendar_externallib_testcase calendar/tests/externallib_test.php
|
|
ERRORS!
|
Tests: 8748, Assertions: 90423, Errors: 3, Skipped: 72.
|
|