Commit dd42ef1
committed
Add plain-permalinks (rest_route) golden URL table for every endpoint
Drive each of the 45 self-hosted endpoint URL builders through a
rest_route-seeded WpOrgSiteApiUrlResolver and assert the exact
?rest_route= URL, the plain-permalinks counterpart to the per-endpoint
wp-json golden assertions. Covers all three self-hosted namespaces plus
embedded-slash paths (plugins, block-renderer) and the api root.
This validates URL construction across the full endpoint surface on
plain-permalink sites; it complements test_login_plain_permalinks_mut,
which proves one endpoint end-to-end against a live server.1 parent 339dc38 commit dd42ef1
3 files changed
Lines changed: 612 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments