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

PHPUnit: Add helper to mock http_client

XMLWordPrintable

    • 1
    • Team Hedgehog 2024 Sprint 3.3, Team Hedgehog 2024 Review 4

      In main, we have introduced \advanced_testcase::get_mocked_http_client() to mock the http_client using DI system.

      This ticket is created to backport this feature to 4.4

            meirza.arson@moodle.com Meirza
            huongn@moodle.com Huong Nguyen
            David Woloszyn David Woloszyn
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 36 minutes
                5h 36m

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