Skip to content

Commit 16f8e46

Browse files
committed
Touch more styles
1 parent 8cc52a2 commit 16f8e46

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/phpunit/tests/media.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6677,7 +6677,8 @@ static function () {
66776677
* @dataProvider data_provider_data_provider_to_test_wp_enqueue_img_auto_sizes_contain_css_fix
66786678
*/
66796679
public function test_wp_enqueue_img_auto_sizes_contain_css_fix( ?Closure $set_up, bool $expected, ?string $expected_deprecated = null ): void {
6680-
// This file is created as part of the build process, but the unit tests don't run the build prior to running unit tests on GHA.
6680+
// These files is created as part of the build process, but the unit tests don't run the build prior to running unit tests on GHA.
6681+
self::touch( ABSPATH . WPINC . '/css/dist/block-library/style.css' );
66816682
self::touch( ABSPATH . WPINC . '/css/dist/block-library/common.css' );
66826683

66836684
if ( $set_up ) {

tests/phpunit/tests/template.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,8 +1677,10 @@ function (): void {
16771677
* @dataProvider data_wp_hoist_late_printed_styles
16781678
*/
16791679
public function test_wp_hoist_late_printed_styles( ?Closure $set_up, int $inline_size_limit, array $expected_styles ): void {
1680-
// This file is created as part of the build process, but the unit tests don't run the build prior to running unit tests on GHA.
1680+
// These files is created as part of the build process, but the unit tests don't run the build prior to running unit tests on GHA.
16811681
self::touch( ABSPATH . WPINC . '/css/dist/block-library/theme.css' );
1682+
self::touch( ABSPATH . WPINC . '/css/dist/block-library/style.css' );
1683+
self::touch( ABSPATH . WPINC . '/css/dist/block-library/common.css' );
16821684

16831685
switch_theme( 'default' );
16841686
global $wp_styles;

0 commit comments

Comments
 (0)