mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed bug that was caused by r97583 (from r97589)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102358 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
db859b793a
commit
e19d18d3c9
@ -569,11 +569,12 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
while(!$dbname || $dbConn->databaseExists($dbname)) {
|
||||
$dbname = 'tmpdb' . rand(1000000,9999999);
|
||||
}
|
||||
|
||||
|
||||
$dbConn->selectDatabase($dbname);
|
||||
$dbConn->createDatabase();
|
||||
|
||||
singleton('SapphireTest')->resetDBSchema();
|
||||
|
||||
$st = new SapphireTest();
|
||||
$st->resetDBSchema();
|
||||
|
||||
return $dbname;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user