Ticket #48142: CS-network.php.diff
| File CS-network.php.diff, 752 bytes (added by , 7 years ago) |
|---|
-
tests/phpunit/tests/multisite/network.php
273 273 add_action( 'deactivated_plugin', array( $this, '_helper_deactivate_hook' ) ); 274 274 275 275 // activate the plugin sitewide 276 activate_plugin( $path, '', $network_wide = true );277 $active_plugins = wp_get_active_network_plugins();276 activate_plugin( $path, '', true ); // $network_wide = true 277 $active_plugins = wp_get_active_network_plugins(); 278 278 $this->assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins ); 279 279 280 280 //deactivate the plugin