Skip to content

Commit

Permalink
cleanup indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
koenpunt committed Jun 3, 2017
1 parent 2607977 commit 652c3b2
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions test/ConnectionManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function test_get_connection_with_null_connection()
$this->assert_not_null(ConnectionManager::get_connection(null));
$this->assert_not_null(ConnectionManager::get_connection());
}

public function test_get_connection()
{
$this->assert_not_null(ConnectionManager::get_connection('mysql'));
Expand All @@ -24,16 +24,15 @@ public function test_get_connection_uses_existing_object()
$this->assert_same($a,ConnectionManager::get_connection('mysql'));
}

public function test_gh_91_get_connection_with_null_connection_is_always_default()
{
$conn_one = ConnectionManager::get_connection('mysql');
$conn_two = ConnectionManager::get_connection();
$conn_three = ConnectionManager::get_connection('mysql');
$conn_four = ConnectionManager::get_connection();
public function test_gh_91_get_connection_with_null_connection_is_always_default()
{
$conn_one = ConnectionManager::get_connection('mysql');
$conn_two = ConnectionManager::get_connection();
$conn_three = ConnectionManager::get_connection('mysql');
$conn_four = ConnectionManager::get_connection();

$this->assert_same($conn_one, $conn_three);
$this->assert_same($conn_two, $conn_three);
$this->assert_same($conn_four, $conn_three);
}
$this->assert_same($conn_one, $conn_three);
$this->assert_same($conn_two, $conn_three);
$this->assert_same($conn_four, $conn_three);
}
}
?>

0 comments on commit 652c3b2

Please sign in to comment.