-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.2
-
MOODLE_402_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-79291-401 -
If I run
PHPUNIT_LONGTEST=1 vendor/bin/phpunit --filter h5p_get_content_types_task_test
the corresponding unit test fails. The issue is that a POST request is sent to
https://download.moodle.org/unittest/h5pcontenttypes.json
However, this leads to a 405 Not Allowed. The infrastructure at https://download.moodle.org/unittest/ should probably set up in a way to return the file h5pcontenttypes.json upon receiving a POST request rather than just upon receiving a GET request.