Changeset 47876 for trunk/tests/phpunit/tests/blocks/block-type.php
- Timestamp:
- 06/01/2020 04:25:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-type.php
r47875 r47876 354 354 */ 355 355 public function test_register_block() { 356 $block_type = new WP_Block_Type( 'core/fake', array( 357 'title' => 'Test title', 358 'category' => 'Test category', 359 'parent' => array( 'core/third-party' ), 360 'icon' => 'icon.png', 361 'description' => 'test description', 362 'keywords' => array( 'test keyword' ), 363 'textdomain' => 'test_domain', 364 'supports' => array( 'alignment' => true ), 365 ) ); 356 $block_type = new WP_Block_Type( 357 'core/fake', 358 array( 359 'title' => 'Test title', 360 'category' => 'Test category', 361 'parent' => array( 'core/third-party' ), 362 'icon' => 'icon.png', 363 'description' => 'test description', 364 'keywords' => array( 'test keyword' ), 365 'textdomain' => 'test_domain', 366 'supports' => array( 'alignment' => true ), 367 ) 368 ); 366 369 367 370 $this->assertSame( 'Test title', $block_type->title );
Note: See TracChangeset
for help on using the changeset viewer.