Changeset 48937 for trunk/tests/phpunit/tests/blocks/block-context.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-context.php
r48845 r48937 132 132 render_block( $parsed_blocks[0] ); 133 133 134 $this->assert Equals(134 $this->assertSame( 135 135 array( 136 136 'gutenberg/contextWithDefault' => 0, … … 168 168 render_block( $parsed_blocks[0] ); 169 169 170 $this->assert Equals(170 $this->assertSame( 171 171 array( 172 172 'postId' => $post->ID, … … 210 210 remove_filter( 'render_block_context', $filter_block_context ); 211 211 212 $this->assert Equals( array( 'example' => 'ok' ), $provided_context[0] );212 $this->assertSame( array( 'example' => 'ok' ), $provided_context[0] ); 213 213 } 214 214
Note: See TracChangeset
for help on using the changeset viewer.