The call to rest_api_init ensures your routes are registered to the server within the test. Make sure you also reset the $wp_rest_server ...
確定! 回上一頁