Skip to content

Commit

Permalink
add additional assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
vcanales committed Jun 4, 2024
1 parent 2464bc9 commit 899487c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test-theme-fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ public function test_remove_deactivated_fonts_from_theme() {

// ensure that the font was added to the theme settings and removed in user settings and therefore missing in merged settings
$this->assertCount( 2, $theme_data_before['typography']['fontFamilies']['theme'] );
$this->assertequals( 'open-sans', $theme_data_before['typography']['fontFamilies']['theme'][0]['slug'] );
$this->assertEquals( 'open-sans', $theme_data_before['typography']['fontFamilies']['theme'][0]['slug'] );
$this->assertEquals( 'deactivated-font', $theme_data_before['typography']['fontFamilies']['theme'][1]['slug'] );
$this->assertCount( 1, $user_data_before['typography']['fontFamilies']['theme'] );
$this->assertCount( 1, $merged_data_before['typography']['fontFamilies']['theme'] );

Expand Down

0 comments on commit 899487c

Please sign in to comment.