Methods
1 to 6 of 6
- Tests_Ajax_GetComments::test_as_admin() – Get comments as a privilged user (administrator) Expects test to pass
- Tests_Ajax_GetComments::test_as_subscriber() – Get comments as a non-privileged user (subscriber) Expects test to fail
- Tests_Ajax_GetComments::test_bad_nonce() – Get comments with a bad nonce Expects test to fail
- Tests_Ajax_GetComments::test_invalid_post() – Get comments for an invalid post Bad post IDs are set to 0, this should return valid XML
- Tests_Ajax_GetComments::test_post_with_no_comments() – Get comments for an invalid post Bad post IDs are set to 0, this should return valid XML
- Tests_Ajax_GetComments::wpSetUpBeforeClass() – A post with no comments