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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98086 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-02-04 00:32:26 +00:00
parent fc44869850
commit bd46a95c85

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');