ENHANCEMENT: Don't set up the test db if database tests aren't being run.

From: Sam Minnee <sam@silverstripe.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93717 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-11-27 00:24:56 +00:00
parent 8855814b5a
commit 66e4b42942

View File

@ -342,7 +342,7 @@ HTML;
}
function setUp() {
SapphireTest::create_temp_db();
// The first DB test will sort out the DB, we don't have to
SSViewer::flush_template_cache();
}