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

Behat step {{i_run_all_adhoc_tasks}} is completely wrong.

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-62653-master
    • Hide
      1. Install the attached local/mdl62653 plugin
      2. Init behat
      3. Run the feature file in local/mdl62653/tests/behat (--name 'I can call cron during behat'
        1. Confirm that two tests pass
        2. Confirm that two tests fail
      Show
      Install the attached local/mdl62653 plugin Init behat Run the feature file in local/mdl62653/tests/behat ( --name 'I can call cron during behat' Confirm that two tests pass Confirm that two tests fail

      The behat task i_run_all_adhoc_tasks is completely wrong and must be fixed.
      It:

      1. does not handle users properly
      2. does not setup the renderer properly
      3. does not handle transactions properly

      We should just use cron_run_inner_adhoc_task and check whether any task failed.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mihail Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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