Changeset 48937 for trunk/tests/phpunit/tests/blocks/serialization.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/serialization.php
r46997 r48937 26 26 $expected = $original; 27 27 28 $this->assert Equals( $expected, $actual );28 $this->assertSame( $expected, $actual ); 29 29 } 30 30 … … 52 52 53 53 function test_serialized_block_name() { 54 $this->assert Equals( null,strip_core_block_namespace( null ) );55 $this->assert Equals( 'example', strip_core_block_namespace( 'example' ) );56 $this->assert Equals( 'example', strip_core_block_namespace( 'core/example' ) );57 $this->assert Equals( 'plugin/example', strip_core_block_namespace( 'plugin/example' ) );54 $this->assertNull( strip_core_block_namespace( null ) ); 55 $this->assertSame( 'example', strip_core_block_namespace( 'example' ) ); 56 $this->assertSame( 'example', strip_core_block_namespace( 'core/example' ) ); 57 $this->assertSame( 'plugin/example', strip_core_block_namespace( 'plugin/example' ) ); 58 58 } 59 59
Note: See TracChangeset
for help on using the changeset viewer.