Skip to content

Commit

Permalink
is this correct?
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 7, 2021
1 parent ce1a2bf commit 0aa6626
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/phpunit/tests/blocks/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ function test_success_register_block_style_handle() {

$this->assertSame( 'unit-tests-test-block-style', $result );
$this->assertSame( 'replace', wp_styles()->get_data( 'unit-tests-test-block-style', 'rtl' ) );
$this->assertSame(
wp_normalize_path( realpath( DIR_TESTDATA . '/blocks/notice/block.css' ) ),
wp_normalize_path( wp_styles()->get_data( 'unit-tests-test-block-style', 'path' ) )
);
}

/**
Expand Down

0 comments on commit 0aa6626

Please sign in to comment.