Changeset 46343 for trunk/tests/phpunit/tests/multisite/network.php
- Timestamp:
- 09/29/2019 12:21:29 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/multisite/network.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/network.php
r46342 r46343 274 274 275 275 // Activate the plugin sitewide. 276 activate_plugin( $path, '', $network_wide =true ); // Enable the plugin for all sites in the network.277 $active_plugins = wp_get_active_network_plugins();276 activate_plugin( $path, '', true ); // Enable the plugin for all sites in the network. 277 $active_plugins = wp_get_active_network_plugins(); 278 278 $this->assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins ); 279 279 … … 285 285 $this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode. 286 286 287 activate_plugin( $path, '', $network_wide =true ); // Enable the plugin for all sites in the network.288 deactivate_plugins( $path, true ); // Silent mode.287 activate_plugin( $path, '', true ); // Enable the plugin for all sites in the network. 288 deactivate_plugins( $path, true ); // Silent mode. 289 289 290 290 $this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode.
Note: See TracChangeset
for help on using the changeset viewer.