From 717a7c5062f776cab71f00a604bf195109fa4604 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 26 Jan 2010 08:29:02 +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/branches/2.4@97583 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 95c17d432..bd05de09e 100644 --- a/dev/TestRunner.php +++ b/dev/TestRunner.php @@ -349,7 +349,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(); }