Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79291

unit test h5p_get_content_types_task_test fails on default testing infrastructure

XMLWordPrintable

      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.

            pholden Paul Holden
            kenogo Keno Goertz
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 15 minutes
                1h 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.