Skip to content

Commit 2b05524

Browse files
committed
Remove needless assertion since _wp_connectors_get_connector_settings() always returns array
1 parent 5a06aea commit 2b05524

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/phpunit/tests/connectors/wpConnectorsGetConnectorSettings.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ public function test_returns_empty_array_when_ai_not_supported(): void {
124124
add_filter( 'wp_supports_ai', '__return_false' );
125125

126126
$settings = _wp_connectors_get_connector_settings();
127-
$this->assertIsArray( $settings );
128-
$this->assertEmpty( $settings );
127+
$this->assertSame( array(), $settings );
129128
}
130129

131130
/**

0 commit comments

Comments
 (0)