Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende authored and ellatrix committed Jun 4, 2024
1 parent 5214e4f commit 6b6d2b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/phpunit/tests/rest-api/rest-themes-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,14 +419,15 @@ public function test_get_item_schema() {
$this->assertArrayHasKey( 'editor-color-palette', $theme_supports );
$this->assertArrayHasKey( 'editor-font-sizes', $theme_supports );
$this->assertArrayHasKey( 'editor-gradient-presets', $theme_supports );
$this->assertArrayHasKey( 'editor-spacing-sizes', $theme_supports );
$this->assertArrayHasKey( 'editor-styles', $theme_supports );
$this->assertArrayHasKey( 'formats', $theme_supports );
$this->assertArrayHasKey( 'html5', $theme_supports );
$this->assertArrayHasKey( 'post-thumbnails', $theme_supports );
$this->assertArrayHasKey( 'responsive-embeds', $theme_supports );
$this->assertArrayHasKey( 'title-tag', $theme_supports );
$this->assertArrayHasKey( 'wp-block-styles', $theme_supports );
$this->assertCount( 23, $theme_supports, 'There should be 23 theme supports' );
$this->assertCount( 24, $theme_supports, 'There should be 23 theme supports' );
}

/**
Expand Down

0 comments on commit 6b6d2b6

Please sign in to comment.