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

Need to test the behaviour of this->fail in test_assert_behaviour to ensure it throws an exception.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3.4
    • Unit tests
    • MOODLE_23_STABLE

      See summary.

      Eloy's comment:

      "Just for your consideration, perhaps it would be great to have some assertions @ test_assert_behaviour() checking that ->fail() works as expected (throwing exception..). Not critical, but better if we have it covered, to detect any behavior change in the future... Feel free to create a new issue for that, TIA!"

            Unassigned Unassigned
            markn Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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