Skip to content

Commit f933d4c

Browse files
fix: use assertSame
Co-authored-by: Mukesh Panchal <[email protected]>
1 parent 1aaecf0 commit f933d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/blocks/wpBlockStylesRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function test_register_block_style_with_label() {
122122
$this->registry->is_registered( $name, 'fancy' ),
123123
'The block type should have the block style registered when the label is valid.'
124124
);
125-
$this->assertEquals(
125+
$this->assertSame(
126126
$style_properties['label'],
127127
$this->registry->get_registered_styles_for_block( $name )['fancy']['label'],
128128
'The registered block style should have the same label.'

0 commit comments

Comments
 (0)