Opened 8 years ago
Closed 8 years ago
#39398 closed defect (bug) (fixed)
REST API: Remove errant annotation from `test_get_items_pagination_headers`
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | minor | Version: | |
Component: | REST API | Keywords: | good-first-bug has-patch |
Focuses: | Cc: |
Description
Introduced in [38832] the WP_Test_REST_Users_Controller->test_get_items_pagination_headers
has an extraneous @group test
notation that should be removed.
Attachments (3)
Change History (8)
#2
@
8 years ago
- Summary changed from REST API: Remove errant annotation from `WP_Test_REST_Users_Controller->test_get_items_pagination_headers` to REST API: Remove errant annotation from `test_get_items_pagination_headers`
@
8 years ago
Introduced in [38832] the WP_Test_REST_Posts_Controller->test_get_items_pagination_headers has an extraneous @group test notation that should be removed. See https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php#L727
Note: See
TracTickets for help on using
tickets.
Looks like this occurs in the WP_Test_REST_Posts_Controller
test_get_items_pagination_headers()
method as well. See #39409.Let's use this ticket to remove the annotations from both places. I didn't find any other occurrences in our tests.