File tree Expand file tree Collapse file tree
tests/phpunit/tests/rest-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2017,7 +2017,7 @@ public function test_get_routes_no_namespace_overriding() {
20172017 * @covers WP_REST_Server::get_routes
20182018 */
20192019 public function test_get_routes_caches_result () {
2020- $ filter_count = 0 ;
2020+ $ filter_count = 0 ;
20212021 $ counting_filter = static function ( $ endpoints ) use ( &$ filter_count ) {
20222022 ++$ filter_count ;
20232023 return $ endpoints ;
@@ -2042,7 +2042,7 @@ public function test_get_routes_caches_result() {
20422042 public function test_get_routes_cache_is_keyed_by_namespace () {
20432043 $ server = rest_get_server ();
20442044
2045- $ all_routes = $ server ->get_routes ();
2045+ $ all_routes = $ server ->get_routes ();
20462046 $ namespaced_routes = $ server ->get_routes ( 'oembed/1.0 ' );
20472047
20482048 $ this ->assertNotEquals ( $ all_routes , $ namespaced_routes , 'Cached routes for different namespaces should differ. ' );
You can’t perform that action at this time.
0 commit comments