Opened 10 years ago
Closed 10 years ago
#39398 closed defect (bug) (fixed)
REST API: Remove errant annotation from `test_get_items_pagination_headers`
| Reported by: | rachelbaker | Owned by: | rachelbaker |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | REST API | Version: | |
| Severity: | minor | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: |
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
@
10 years ago
- Summary REST API: Remove errant annotation from `WP_Test_REST_Users_Controller->test_get_items_pagination_headers` → REST API: Remove errant annotation from `test_get_items_pagination_headers`
@
10 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.