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

Add unit tests for \mod_forum_external::get_discussion_posts_by_userid()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8.5, 3.9.2, 3.10, 4.0
    • Forum, Unit tests
    • None
    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      MDL-68900 solves a bug found in \mod_forum_external::get_discussion_posts_by_userid(), revealing the existing unit tests for that method was asserting an incorrect result.

      The unit test was fixed but modified to address only a specific scenario: when the display period of a post has ended.

      \mod_forum_external::get_discussion_posts_by_userid() should be fully tested to cover other scenarios.

            Unassigned Unassigned
            vmdef Victor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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