Make WordPress Core


Ignore:
Timestamp:
06/30/2021 02:13:30 AM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Revert [51259-51256,51265].

[51259] introduced a PHP notice that was not actually fixed by [51265]. Reverting these changes in order to investigate further.

See #53397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/register.php

    r51259 r51268  
    134134        );
    135135        $this->assertSame(
    136             'unit-tests-my-block-view-script',
    137             generate_block_asset_handle( $block_name, 'viewScript' )
    138         );
    139         $this->assertSame(
    140136            'unit-tests-my-block-editor-style',
    141137            generate_block_asset_handle( $block_name, 'editorStyle' )
     
    160156            'wp-block-paragraph',
    161157            generate_block_asset_handle( $block_name, 'script' )
    162         );
    163         $this->assertSame(
    164             'wp-block-paragraph-view',
    165             generate_block_asset_handle( $block_name, 'viewScript' )
    166158        );
    167159        $this->assertSame(
     
    381373        $this->assertSame( 'tests-notice-editor-script', $result->editor_script );
    382374        $this->assertSame( 'tests-notice-script', $result->script );
    383         $this->assertSame( 'tests-notice-view-script', $result->view_script );
    384375        $this->assertSame( 'tests-notice-editor-style', $result->editor_style );
    385376        $this->assertSame( 'tests-notice-style', $result->style );
Note: See TracChangeset for help on using the changeset viewer.