Changeset 48121 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 06/22/2020 05:24:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r47850 r48121 379 379 380 380 /** 381 * Ensure that result fields are not whitelisted if no request['_fields'] is present.381 * Ensure that result fields are not allowed if no request['_fields'] is present. 382 382 */ 383 383 public function test_rest_filter_response_fields_no_request_filter() { … … 391 391 392 392 /** 393 * Ensure that result fields are whitelisted if request['_fields'] is present.393 * Ensure that result fields are allowed if request['_fields'] is present. 394 394 */ 395 395 public function test_rest_filter_response_fields_single_field_filter() { … … 411 411 412 412 /** 413 * Ensure that multiple comma-separated fields may be whitelisted with request['_fields'].413 * Ensure that multiple comma-separated fields may be allowed with request['_fields']. 414 414 */ 415 415 public function test_rest_filter_response_fields_multi_field_filter() { … … 441 441 442 442 /** 443 * Ensure that multiple comma-separated fields may be whitelisted443 * Ensure that multiple comma-separated fields may be allowed 444 444 * with request['_fields'] using query parameter array syntax. 445 445 */ … … 473 473 474 474 /** 475 * Ensure that request['_fields'] whitelistsapply to items in response collections.475 * Ensure that request['_fields'] allowed list apply to items in response collections. 476 476 */ 477 477 public function test_rest_filter_response_fields_numeric_array() { … … 521 521 522 522 /** 523 * Ensure that nested fields may be whitelisted with request['_fields'].523 * Ensure that nested fields may be allowed with request['_fields']. 524 524 * 525 525 * @ticket 42094
Note: See TracChangeset
for help on using the changeset viewer.