Skip to content

Commit

Permalink
Remove 0 network ID testcase, since get_network() now returns `$c…
Browse files Browse the repository at this point in the history
…urrent_site.`
  • Loading branch information
JJJ committed Oct 31, 2016
1 parent 39032db commit d4454db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test-networkoperations.php
Expand Up @@ -7,7 +7,6 @@ public function test_network_exists() {
}

public function test_network_exists_with_invalid_id() {
$this->assertFalse( network_exists( 0 ), "Network 0 doesn't exist" );
$this->assertFalse( network_exists( -1 ), 'Network IDs must be positive' );
}

Expand Down

0 comments on commit d4454db

Please sign in to comment.