Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-30102_master

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13