Skip to content

Commit fb4c1d0

Browse files
update test case
1 parent 496d908 commit fb4c1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/abilities-api/wpRegisterCoreAbilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function test_core_get_site_info_ability_is_registered(): void {
6868

6969
$this->assertSame( 'object', $input_schema['type'] );
7070
$this->assertArrayHasKey( 'default', $input_schema );
71-
$this->assertSame( array(), $input_schema['default'] );
71+
$this->assertEquals( (object) array(), $input_schema['default'] );
7272

7373
// Input schema should have optional fields array.
7474
$this->assertArrayHasKey( 'fields', $input_schema['properties'] );

0 commit comments

Comments
 (0)