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

add support for hook callback redirection in tests

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.3
    • General

    Description

      The idea is to add something like event/email/message redirection in PHPUnit but for hooks.

      This is necessary if we want to test core hooks without any observers, see test for core\hook\navigation\primary_extend at https://github.com/skodak/moodle/blob/MDL-79338/lib/tests/hook/navigation/primary_extend_test.php

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda (Inactive)
              skodak Petr Skoda (Inactive)
              Farhan Karmali Farhan Karmali
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 22 minutes
                  22m

                  Clockify

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