From 652c3b2a24572bd071f70b5d390531ee4df5419a Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Sat, 3 Jun 2017 13:55:28 +0200 Subject: [PATCH] cleanup indentation --- test/ConnectionManagerTest.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/test/ConnectionManagerTest.php b/test/ConnectionManagerTest.php index ca29b0452..2dc36111a 100644 --- a/test/ConnectionManagerTest.php +++ b/test/ConnectionManagerTest.php @@ -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')); @@ -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); + } } -?>