Fixed regression from 5c5438abee

This commit is contained in:
Ingo Schommer 2014-03-17 21:42:47 +13:00
parent 5c5438abee
commit 72e8234457

View File

@ -185,7 +185,8 @@ class TestSessionEnvironment extends Object {
$conn = DB::getConn(); $conn = DB::getConn();
if(!$conn) { if(!$conn) {
$conn = DB::connect($databaseConfig); DB::connect($databaseConfig);
$conn = DB::getConn();
} }
$conn->selectDatabase($database); $conn->selectDatabase($database);