Changeset 57068 for trunk/tests/phpunit/tests/blocks/wpBlockType.php
- Timestamp:
- 11/06/2023 02:45:28 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/wpBlockType.php
r55457 r57068 81 81 /* 82 82 * @ticket 55567 83 * @ticket 59797 83 84 * @covers WP_Block_Type::set_props 84 85 */ … … 88 89 $this->assertSameSetsWithIndex( 89 90 array( 90 'lock' => array( 'type' => 'object' ), 91 'lock' => array( 'type' => 'object' ), 92 'metadata' => array( 'type' => 'object' ), 91 93 ), 92 94 $block_type->attributes … … 96 98 /* 97 99 * @ticket 55567 100 * @ticket 59797 98 101 * @covers WP_Block_Type::set_props 99 102 */ … … 103 106 array( 104 107 'attributes' => array( 105 'lock' => array(108 'lock' => array( 106 109 'type' => 'string', 110 ), 111 'metadata' => array( 112 'type' => 'number', 107 113 ), 108 114 ), … … 113 119 $this->assertSameSetsWithIndex( 114 120 array( 115 'lock' => array( 'type' => 'string' ), 121 'lock' => array( 'type' => 'string' ), 122 'metadata' => array( 'type' => 'number' ), 116 123 ), 117 124 $block_type->attributes
Note: See TracChangeset
for help on using the changeset viewer.