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

clean up messaging and email redirection in unit tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Badges, Unit tests
    • Labels:
    • Story Points:
      5
    • Sprint:
      BACKEND Sprint 6

      Description

      Problems:

      • use of $CFG->noemailever in unit tests
      • badges is abusing $CFG->noemailever - fatal moodle_url attachment error is hidden by that
      • we should give better warnings in tests about redirection of emails and messages
      • we should not rely on $CFG->noemailever for prevention of sending messages from unit tests

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13