Skip to content

Commit

Permalink
Fix the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed Oct 9, 2023
1 parent 6c9e856 commit 89cd000
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function test_prepare_item() {
$this->assertIsArray( $response_font_collection_data['data'], 'Response font collection data should be an array.' );
$this->assertSame( $font_collection_data['data']['categories'], $response_font_collection_data['data']['categories'], 'Font collection categories should be consistent in the response.' );
$this->assertArrayNotHasKey( 'fontFamilies', $response_font_collection_data['data'], 'Response font collection data should not contain the "fontFamilies" key.' );
$this->assertSame( $font_collection_data['data']['font_families'], $response_font_collection_data['data']['font_families'], 'Font families should be consistent in the response.' );
$this->assertSame( $font_collection_data['data']['fontFamilies'], $response_font_collection_data['data']['font_families'], 'Font families should be consistent in the response.' );
}

public function test_get_item_schema() {
Expand Down

0 comments on commit 89cd000

Please sign in to comment.