Changeset 57133 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 11/23/2023 02:39:16 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r56566 r57133 30 30 public function filter_wp_rest_server_class( $class_name ) { 31 31 return 'Spy_REST_Server'; 32 } 33 34 public function test_rest_get_server_fails_with_undefined_method() { 35 $this->expectException( Error::class ); 36 rest_get_server()->does_not_exist(); 32 37 } 33 38
Note:
See TracChangeset
for help on using the changeset viewer.