XMLWordPrintable

    • MOODLE_22_STABLE
    • MOODLE_25_STABLE
    • MDL-30102_master
    • Hide
      1. Create a courses.
      2. Create a forum in this course.
      3. Add a discussion with a few replies.
      4. Add another forum that is hidden with an impossible conditional field (eg. firstname is empty).
      5. Enrol a user into the course.
      6. Create a web service token for the enrolled student to use for the following steps when making calls with the web service.
      7. Create a web service client (similar to the one attached) that includes the first forum id in the params.
      8. Execute the client and ensure the discussions for that forum are returned.
      9. Change the params to include the id of the hidden forum and ensure exception thrown.
      10. Run the PHP Unit test phpunit mod/forum/tests/externallib_test.php.
      11. Run the PHP Unit test phpunit lib/testing/tests/generator_test.php.
      Show
      Create a courses. Create a forum in this course. Add a discussion with a few replies. Add another forum that is hidden with an impossible conditional field (eg. firstname is empty). Enrol a user into the course. Create a web service token for the enrolled student to use for the following steps when making calls with the web service. Create a web service client (similar to the one attached) that includes the first forum id in the params. Execute the client and ensure the discussions for that forum are returned. Change the params to include the id of the hidden forum and ensure exception thrown. Run the PHP Unit test phpunit mod/forum/tests/externallib_test.php. Run the PHP Unit test phpunit lib/testing/tests/generator_test.php.

      1. ws_client.php
        1 kB
      2. ws_curl.php
        18 kB

          markn Mark Nelson
          jerome Jérôme Mouneyrac
          Frédéric Massart Frédéric Massart
          Damyon Wiese Damyon Wiese
          Rossiani Wijaya Rossiani Wijaya
          Votes:
          0 Vote for this issue
          Watchers:
          8 Start watching this issue

            Created:
            Updated:
            Resolved:

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