Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Sep 17, 2024
1 parent 808c1f8 commit 95db6ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/tests/rest-api/rest-posts-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,8 @@ public function test_get_items_exact_search( $search_term, $exact_search, $expec
)
);

$request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
$request['search'] = $search_term;
$request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
$request['search'] = $search_term;
$request['exact_search'] = $exact_search;
$response = rest_get_server()->dispatch( $request );

Check warning on line 796 in tests/phpunit/tests/rest-api/rest-posts-controller.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
$this->assertCount( $expected, $response->get_data() );
Expand Down

0 comments on commit 95db6ff

Please sign in to comment.