From 66e4b42942d915926c874aa692d1a63d39c7f808 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 27 Nov 2009 00:24:56 +0000 Subject: [PATCH] ENHANCEMENT: Don't set up the test db if database tests aren't being run. From: Sam Minnee git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93717 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/TestRunner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/TestRunner.php b/dev/TestRunner.php index b69bc4c97..82491bf74 100644 --- a/dev/TestRunner.php +++ b/dev/TestRunner.php @@ -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(); }