Skip to content
Permalink
Browse files

Coding Standards: Remove inline assignments and extra whitespace in `…

…tests/multisite/network.php`.

Props garrett-eclipse, jrf.
See #48142.

git-svn-id: https://develop.svn.wordpress.org/trunk@46343 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 29, 2019
1 parent c3dfdf8 commit 47643f762126d4c695d2ead8500cdadc07f82e8d
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/phpunit/tests/multisite/network.php
@@ -273,8 +273,8 @@ function test_active_network_plugins() {
add_action( 'deactivated_plugin', array( $this, '_helper_deactivate_hook' ) );
// Activate the plugin sitewide.
activate_plugin( $path, '', $network_wide = true ); // Enable the plugin for all sites in the network.
$active_plugins = wp_get_active_network_plugins();
activate_plugin( $path, '', true ); // Enable the plugin for all sites in the network.
$active_plugins = wp_get_active_network_plugins();
$this->assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins );
// Deactivate the plugin.
@@ -284,8 +284,8 @@ function test_active_network_plugins() {
$this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode.
activate_plugin( $path, '', $network_wide = true ); // Enable the plugin for all sites in the network.
deactivate_plugins( $path, true ); // Silent mode.
activate_plugin( $path, '', true ); // Enable the plugin for all sites in the network.
deactivate_plugins( $path, true ); // Silent mode.
$this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode.
}

0 comments on commit 47643f7

Please sign in to comment.
You can’t perform that action at this time.