mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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/branches/2.4@97583 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9300e52969
commit
717a7c5062
@ -349,7 +349,7 @@ HTML;
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setUp() {
|
function setUp() {
|
||||||
SapphireTest::create_temp_db();
|
// The first DB test will sort out the DB, we don't have to
|
||||||
SSViewer::flush_template_cache();
|
SSViewer::flush_template_cache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user