mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Another bugfix for r97583
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@97593 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
cfea61ac54
commit
46b9ce6988
@ -173,6 +173,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user