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

Problem running reportbuilder/tests/external/conditions unit tests alone

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • Hide

      Run the following test cases, confirm they still pass:

      $ vendor/bin/phpunit --testsuite filter_emoticon_testsuite,repository_googledocs_testsuite
      

      Master only: confirm this testcase now passes:

      $ vendor/bin/phpunit --filter='core_reportbuilder\\external\\conditions\\add_test::test_execute'
      

      Show
      Run the following test cases, confirm they still pass: $ vendor/bin/phpunit --testsuite filter_emoticon_testsuite,repository_googledocs_testsuite Master only: confirm this testcase now passes: $ vendor/bin/phpunit --filter='core_reportbuilder\\external\\conditions\\add_test::test_execute'

    Description

      Working on MDL-72769 we realized that tests on reportbuilder/tests/external/conditions are failing when they are running alone:

      coding_exception: Coding error detected, it must be fixed by a programmer: $OUTPUT->header() needs to be called before collecting JavaScript requirements.

       

      Attachments

        Activity

          People

            pholden Paul Holden
            amaia Amaia Anabitarte
            Odei Alba Odei Alba
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 50 minutes
                4h 50m

                Clockify

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