Changeset 56421 for trunk/tests/phpunit/tests/blocks/register.php
- Timestamp:
- 08/21/2023 03:53:04 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/register.php
r56044 r56421 721 721 $registry = WP_Block_Type_Registry::get_instance(); 722 722 $block_type = $registry->get_registered( 'core/test-static' ); 723 $this->assertObjectHas Attribute( 'editor_script_handles', $block_type );723 $this->assertObjectHasProperty( 'editor_script_handles', $block_type ); 724 724 $actual_script = $block_type->editor_script; 725 725 $actual_script_handles = $block_type->editor_script_handles; … … 787 787 $registry = WP_Block_Type_Registry::get_instance(); 788 788 $block_type = $registry->get_registered( 'core/test-static' ); 789 $this->assertObjectHas Attribute( 'editor_script_handles', $block_type );789 $this->assertObjectHasProperty( 'editor_script_handles', $block_type ); 790 790 $actual_script = $block_type->editor_script; 791 791 $actual_script_handles = $block_type->editor_script_handles;
Note: See TracChangeset
for help on using the changeset viewer.