Changeset 51259 for trunk/tests/phpunit/tests/blocks/register.php
- Timestamp:
- 06/29/2021 03:08:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/register.php
r50927 r51259 134 134 ); 135 135 $this->assertSame( 136 'unit-tests-my-block-view-script', 137 generate_block_asset_handle( $block_name, 'viewScript' ) 138 ); 139 $this->assertSame( 136 140 'unit-tests-my-block-editor-style', 137 141 generate_block_asset_handle( $block_name, 'editorStyle' ) … … 156 160 'wp-block-paragraph', 157 161 generate_block_asset_handle( $block_name, 'script' ) 162 ); 163 $this->assertSame( 164 'wp-block-paragraph-view', 165 generate_block_asset_handle( $block_name, 'viewScript' ) 158 166 ); 159 167 $this->assertSame( … … 373 381 $this->assertSame( 'tests-notice-editor-script', $result->editor_script ); 374 382 $this->assertSame( 'tests-notice-script', $result->script ); 383 $this->assertSame( 'tests-notice-view-script', $result->view_script ); 375 384 $this->assertSame( 'tests-notice-editor-style', $result->editor_style ); 376 385 $this->assertSame( 'tests-notice-style', $result->style );
Note: See TracChangeset
for help on using the changeset viewer.