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

add support for hook callback redirection in tests

XMLWordPrintable

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

      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

            skodak Petr Skoda
            skodak Petr Skoda
            Farhan Karmali Farhan Karmali
            Ilya Tregubov Ilya Tregubov
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 22 minutes
                22m

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