Changeset 48937 for trunk/tests/phpunit/tests/blocks/block-type.php
- Timestamp:
- 09/02/2020 12:35:36 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-type.php
r47876 r48937 101 101 ); 102 102 $output = $block_type->render( $attributes ); 103 $this->assert Equals( $attributes, json_decode( $output, true ) );103 $this->assertSame( $attributes, json_decode( $output, true ) ); 104 104 } 105 105 … … 124 124 ); 125 125 $output = $block_type->render( $attributes, $content ); 126 $this->assert Equals( $expected, json_decode( $output, true ) );126 $this->assertSame( $expected, json_decode( $output, true ) ); 127 127 } 128 128 … … 134 134 $output = $block_type->render(); 135 135 136 $this->assert Equals( '', $output );136 $this->assertSame( '', $output ); 137 137 } 138 138 … … 224 224 $prepared_attributes = $block_type->prepare_attributes_for_render( $attributes ); 225 225 226 $this->assert Equals( $attributes, $prepared_attributes );226 $this->assertSame( $attributes, $prepared_attributes ); 227 227 } 228 228
Note: See TracChangeset
for help on using the changeset viewer.