We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad15c65 commit a22f60fCopy full SHA for a22f60f
tests/phpunit/tests/abilities-api/wpRegisterCoreAbilities.php
@@ -68,7 +68,7 @@ public function test_core_get_site_info_ability_is_registered(): void {
68
69
$this->assertSame( 'object', $input_schema['type'] );
70
$this->assertArrayHasKey( 'default', $input_schema );
71
- $this->assertEquals( (object) array(), $input_schema['default'] );
+ $this->assertSame( array(), $input_schema['default'] );
72
73
// Input schema should have optional fields array.
74
$this->assertArrayHasKey( 'fields', $input_schema['properties'] );
0 commit comments