- Timestamp:
- 04/01/2026 02:56:47 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/connectors/wpConnectorRegistry.php
r62180 r62192 295 295 public function test_register_includes_plugin_data() { 296 296 $args = self::$default_args; 297 $args['plugin'] = array( ' slug' => 'my-plugin' );297 $args['plugin'] = array( 'file' => 'my-plugin/my-plugin.php' ); 298 298 299 299 $result = $this->registry->register( 'with-plugin', $args ); 300 300 301 301 $this->assertArrayHasKey( 'plugin', $result ); 302 $this->assertSame( array( ' slug' => 'my-plugin' ), $result['plugin'] );302 $this->assertSame( array( 'file' => 'my-plugin/my-plugin.php' ), $result['plugin'] ); 303 303 } 304 304
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)