Repository navigation
Commit ca2204c
committed
Tests: Assert unsupported URL Details requests.
Replace empty REST test stubs with assertions that unsupported requests return `rest_no_route`. Check `POST`, `PUT`, `PATCH`, and `DELETE` on the actual endpoint, and retain a separate check for the absent item route.
Developed in: #14109
Props shailu25.
See #66073.
git-svn-id: https://develop.svn.wordpress.org/trunk@64278 602fd350-edb4-49c9-b593-d223f7449a821 parent a52e34f commit ca2204c
1 file changed
Lines changed: 38 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
1074 | 1076 | | |
1075 | 1077 | | |
1076 | | - | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1077 | 1084 | | |
1078 | 1085 | | |
1079 | 1086 | | |
1080 | | - | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1081 | 1090 | | |
1082 | 1091 | | |
1083 | | - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1084 | 1098 | | |
1085 | 1099 | | |
1086 | 1100 | | |
1087 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1088 | 1104 | | |
1089 | 1105 | | |
1090 | | - | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
1091 | 1114 | | |
1092 | 1115 | | |
1093 | 1116 | | |
1094 | | - | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1095 | 1120 | | |
1096 | 1121 | | |
1097 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1098 | 1128 | | |
1099 | 1129 | | |
1100 | 1130 | | |
| |||
0 commit comments