Skip to content

Commit 3ee6aaa

Browse files
committed
chore: feedback
1 parent e47bedb commit 3ee6aaa

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

tests/phpunit/tests/ai-client/wpSupportsAI.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
*/
88

99
class Tests_WP_Supports_AI extends WP_UnitTestCase {
10-
/**
11-
* {@inheritDoc}
12-
*/
13-
public function tear_down() {
14-
// Remove the WP_DISABLE_AI constant if it was defined during tests.
15-
remove_all_filters( 'wp_supports_ai' );
16-
17-
parent::tear_down();
18-
}
19-
2010
/**
2111
* Test that wp_supports_ai() defaults to true.
2212
*

tests/phpunit/tests/connectors/wpConnectorsGetConnectorSettings.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public function test_includes_registered_provider_from_registry() {
115115
$this->assertNull( $mock['authentication']['credentials_url'] );
116116
$this->assertSame( 'connectors_ai_mock_connectors_test_api_key', $mock['authentication']['setting_name'] );
117117
}
118+
118119
/**
119120
* Tests connectors return an empty array when AI is not supported
120121
*/

0 commit comments

Comments
 (0)