Changeset 52010 for trunk/tests/phpunit/tests/blocks/serialize.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/serialize.php
r51674 r52010 20 20 * @dataProvider data_serialize_identity_from_parsed 21 21 */ 22 function test_serialize_identity_from_parsed( $original ) {22 public function test_serialize_identity_from_parsed( $original ) { 23 23 $blocks = parse_blocks( $original ); 24 24 … … 29 29 } 30 30 31 function data_serialize_identity_from_parsed() {31 public function data_serialize_identity_from_parsed() { 32 32 return array( 33 33 // Void block. … … 54 54 } 55 55 56 function test_serialized_block_name() {56 public function test_serialized_block_name() { 57 57 $this->assertNull( strip_core_block_namespace( null ) ); 58 58 $this->assertSame( 'example', strip_core_block_namespace( 'example' ) );
Note: See TracChangeset
for help on using the changeset viewer.