We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7660a9 commit 1f8a2f8Copy full SHA for 1f8a2f8
tests/phpunit/tests/template.php
@@ -1715,6 +1715,7 @@ static function () {
1715
wp_should_load_separate_core_block_assets() ? 'css/dist/block-library/common.css' : 'css/dist/block-library/style.css',
1716
wp_should_load_separate_core_block_assets()
1717
);
1718
+ $this->ensure_style_asset_file_created( 'wp-block-library-theme', 'css/dist/block-library/theme.css', true );
1719
$dependency = wp_styles()->query( 'wp-block-library' );
1720
$this->assertTrue( (bool) $dependency, 'Expected wp-block-library stylesheet to be registered.' );
1721
$this->assertIsString( $dependency->src, 'Expected wp-block-library to have a string src. Dependency: ' . json_encode( $dependency ) );
0 commit comments