Opened 9 years ago
Closed 9 years ago
#2766 closed defect (bug) (fixed)
Plugin Directory: Update API endpoint URLs in unit tests
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Plugin Directory | Keywords: | has-patch |
| Cc: |
Description
The tests for locale banner still point to the old plugins-wp URL and currently fail due to a rest_no_route error:
array(3) {
'code' =>
string(13) "rest_no_route"
'message' =>
string(54) "No route was found matching the URL and request method"
'data' =>
array(1) {
'status' =>
int(404)
}
}
...
1) Tests_API_Locale_Banner::test_locale_banner with data set #0 ('en-US,en;q=0.5', array())
Failed asserting that an array has the key 'suggest_string'.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 5434: