Lines:
1 to 22 of 22
<?php /** * Admin Ajax functions to be tested. */ require_once ABSPATH . 'wp-admin/includes/ajax-actions.php'; /* class Tests_Ajax_EditComment */ /* function Tests_Ajax_EditComment::set_up */ /* function Tests_Ajax_EditComment::test_as_admin() – Get comments as a privilged user (administrator) Expects test to pass */ /* function Tests_Ajax_EditComment::test_editor_can_edit_orphan_comments() – */ /* function Tests_Ajax_EditComment::test_as_subscriber() – Get comments as a non-privileged user (subscriber) Expects test to fail */ /* function Tests_Ajax_EditComment::test_bad_nonce() – Get comments with a bad nonce Expects test to fail */ /* function Tests_Ajax_EditComment::test_invalid_comment() – Get comments for an invalid post This should return valid XML */ /* function Tests_Ajax_EditComment::test_wp_update_comment_data_is_wp_error */ /* function Tests_Ajax_EditComment::_wp_update_comment_data_filter */