mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Fixed regression from 5c5438abee
This commit is contained in:
parent
5c5438abee
commit
72e8234457
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user