MINOR: Fixed FileTest execution if the assets/ directory doesn't exist. (from r88353) (from r98086)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@103521 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-26 23:30:03 +00:00 committed by Sam Minnee
parent 8e5239ff57
commit 0b79e85cc8

View File

@ -98,6 +98,8 @@ class FileTest extends SapphireTest {
function setUp() {
parent::setUp();
if(!file_exists(ASSETS_PATH)) mkdir(ASSETS_PATH);
/* Create a test folders for each of the fixture references */
$fileIDs = $this->allFixtureIDs('Folder');