Skip to content

Commit 326f58d

Browse files
fix: use assertSame
Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
1 parent f933d4c commit 326f58d

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
@@ -150,7 +150,7 @@ public function test_register_block_style_without_label() {
150150
$this->registry->is_registered( $name, 'fancy' ),
151151
'The block type should have the block style registered when the label is missing.'
152152
);
153-
$this->assertEquals(
153+
$this->assertSame(
154154
$style_properties['name'],
155155
$this->registry->get_registered_styles_for_block( $name )['fancy']['label'],
156156
'The registered block style should have a name and label equal.'

0 commit comments

Comments
 (0)