Make WordPress Core

Changeset 46343


Ignore:
Timestamp:
09/29/2019 12:21:29 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove inline assignments and extra whitespace in tests/multisite/network.php.

Props garrett-eclipse, jrf.
See #48142.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/network.php

    r46342 r46343  
    274274
    275275                        // 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();
    278278                        $this->assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins );
    279279
    … …  
    285285                        $this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode.
    286286
    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.
    289289
    290290                        $this->assertEquals( 1, $this->plugin_hook_count ); // Testing actions and silent mode.
Note: See TracChangeset for help on using the changeset viewer.