- Timestamp:
- 09/15/2022 12:18:30 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-themes-controller.php
r54162 r54176 389 389 $this->assertArrayHasKey( 'automatic-feed-links', $theme_supports ); 390 390 $this->assertArrayHasKey( 'block-templates', $theme_supports ); 391 $this->assertArrayHasKey( 'block-template-parts', $theme_supports, "Theme supports should have 'block-template-parts' key" ); 391 392 $this->assertArrayHasKey( 'custom-header', $theme_supports ); 392 393 $this->assertArrayHasKey( 'custom-background', $theme_supports ); … … 408 409 $this->assertArrayHasKey( 'title-tag', $theme_supports ); 409 410 $this->assertArrayHasKey( 'wp-block-styles', $theme_supports ); 410 $this->assertCount( 2 2, $theme_supports);411 $this->assertCount( 23, $theme_supports, 'There should be 23 theme supports' ); 411 412 } 412 413
Note: See TracChangeset
for help on using the changeset viewer.