Opened 2 years ago
Closed 2 years ago
#57452 closed defect (bug) (fixed)
Incorrect inline comment in Tests_Ajax_wpAjaxReplytoComment::test_as_subscriber
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | trivial | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
The inline comment in Tests_Ajax_wpAjaxReplytoComment::test_as_subscriber says:
// Become an administrator.
But the code does:
$this->_setRole( 'subscriber' );
The code seems to match the intention of the Tests_Ajax_wpAjaxReplytoComment::test_as_subscriber
test, so the inline comment should be adjusted accordingly
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch!
Looks good to go. Marking for
commit
.