diff --git a/tests/phpunit/tests/multisite/network.php b/tests/phpunit/tests/multisite/network.php
index 5b424ca..058f411 100644
a
|
b
|
class Tests_Multisite_Network extends WP_UnitTestCase { |
133 | 133 | remove_action( 'activate_' . $path, array ( $mock, 'action' ) ); |
134 | 134 | } |
135 | 135 | |
| 136 | function test_is_plugin_active_for_network_true() { |
| 137 | activate_plugin( 'hello.php', '', true ); |
| 138 | $this->assertTrue( is_plugin_active_for_network( 'hello.php' ) ); |
| 139 | } |
| 140 | |
| 141 | function test_is_plugin_active_for_network_false() { |
| 142 | deactivate_plugins( 'hello.php', false, true ); |
| 143 | $this->assertFalse( is_plugin_active_for_network( 'hello.php' ) ); |
| 144 | } |
| 145 | |
136 | 146 | function _helper_deactivate_hook() { |
137 | 147 | $this->plugin_hook_count++; |
138 | 148 | } |