Changeset 43652
- Timestamp:
- 09/23/2018 03:45:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-server.php
r43571 r43652 212 212 * result in a 403 error. 213 213 */ 214 function test_rest_route_capability_authorization_fails() {214 public function test_rest_route_capability_authorization_fails() { 215 215 register_rest_route( 216 216 'test-ns', … … 234 234 * edit_posts capability. 235 235 */ 236 function test_rest_route_capability_authorization() {236 public function test_rest_route_capability_authorization() { 237 237 register_rest_route( 238 238 'test-ns', … … 261 261 * for all available methods on that route. 262 262 */ 263 function test_allow_header_sent() {263 public function test_allow_header_sent() { 264 264 265 265 register_rest_route( … … 288 288 * methods that can be sent to a route. 289 289 */ 290 function test_allow_header_sent_with_multiple_methods() {290 public function test_allow_header_sent_with_multiple_methods() { 291 291 292 292 register_rest_route( … … 326 326 * which the user does not have access to. 327 327 */ 328 function test_allow_header_send_only_permitted_methods() {328 public function test_allow_header_send_only_permitted_methods() { 329 329 330 330 register_rest_route( … … 1169 1169 * } 1170 1170 */ 1171 function data_rest_send_refreshed_nonce() {1171 public function data_rest_send_refreshed_nonce() { 1172 1172 return array( 1173 1173 array( true, true ),
Note: See TracChangeset
for help on using the changeset viewer.