Skip to content

Commit e11bf8d

Browse files
committed
Unskip test again
1 parent 070bac0 commit e11bf8d

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

‎features/connectors.feature‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ Feature: List and get AI connectors
193193
"""
194194

195195
# Plugin requires PHP 7.4.
196-
# Currently broken because no 3P plugins have the plugin -> file metadata.
197-
@require-wp-7.0 @require-php-7.4 @broken
196+
@require-wp-7.0 @require-php-7.4
198197
Scenario: Community plugin shows up in connectors list
199198
When I run `wp plugin install https://github.com/aslamdoctor/ai-provider-for-grok/archive/refs/heads/master.zip --activate`
200199
And I run `wp connectors list --format=json`

‎src/Connectors_Command.php‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,7 @@ private function get_connector_status( string $connector_id, array $connector ):
232232
}
233233
}
234234

235-
if ( ! $plugin_file ) {
236-
return 'not installed';
237-
}
238-
239-
if ( is_plugin_active( $plugin_file ) ) {
235+
if ( ! $plugin_file || is_plugin_active( $plugin_file ) ) {
240236
return 'active';
241237
}
242238

0 commit comments

Comments
 (0)