Changeset 51404 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 07/12/2021 10:35:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r51397 r51404 266 266 function test_rest_route_query_var() { 267 267 rest_api_init(); 268 $this->assert True( in_array( 'rest_route', $GLOBALS['wp']->public_query_vars, true ));268 $this->assertContains( 'rest_route', $GLOBALS['wp']->public_query_vars ); 269 269 } 270 270
Note: See TracChangeset
for help on using the changeset viewer.