BUGFIX: Another bugfix for r97583 (from r97593)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102458 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-12 05:39:48 +00:00
parent 4e850f6011
commit a09263e572

View File

@ -181,6 +181,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
// If we have made changes to the extensions present, then migrate the database schema.
if($this->extensionsToReapply || $this->extensionsToRemove || $this->extraDataObjects) {
if(!self::using_temp_db()) self::create_temp_db();
$this->resetDBSchema(true);
}
// clear singletons, they're caching old extension info