diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index 1a9815f78..c609e22bd 100755 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -182,6 +182,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase { // rebuild the db schema $dbadmin = new DatabaseAdmin(); $dbadmin->doBuild(true, false, true); + singleton('DataObject')->flushCache(); } // clear singletons, they're caching old extension info // which is used in DatabaseAdmin->doBuild()