- Timestamp:
- 03/19/2026 01:55:45 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/connectors/wpConnectorRegistry.php
r62056 r62067 398 398 $this->assertSame( $instance1, $instance2 ); 399 399 } 400 401 /** 402 * Test registration skips AI connectors when AI is not supported. 403 */ 404 public function test_register_skips_when_ai_not_supported() { 405 add_filter( 'wp_supports_ai', '__return_false' ); 406 407 $this->registry->register( 'first', self::$default_args ); 408 409 $all = $this->registry->get_all_registered(); 410 $this->assertCount( 0, $all ); 411 } 400 412 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)