Skip to content

Commit

Permalink
Rename the variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed Nov 29, 2023
1 parent a3ffe5c commit 8f80e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/tests/rest-api/rest-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,8 @@ public function test_get_index_should_return_site_icon_and_site_logo_fields( $fi
$this->assertArrayHasKey( $expected_field, $response, "Expected \"{$expected_field}\" field is missing in the response." );
}

foreach ( $unexpected_fields as $not_expected_field ) {
$this->assertArrayNotHasKey( $not_expected_field, $response, "Response must not contain the \"{$not_expected_field}\" field." );
foreach ( $unexpected_fields as $unexpected_field ) {
$this->assertArrayNotHasKey( $unexpected_field, $response, "Response must not contain the \"{$unexpected_field}\" field." );
}
}

Expand Down

0 comments on commit 8f80e5e

Please sign in to comment.