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

Behat step {{i_run_all_adhoc_tasks}} is completely wrong.

    XMLWordPrintable

Details

    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Jun Pataleta Jun Pataleta
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Mihail Geshoski Mihail Geshoski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/18