mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-05 23:58:49 +02:00
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:
parent
fc44869850
commit
bd46a95c85
@ -98,6 +98,8 @@ class FileTest extends SapphireTest {
|
|||||||
|
|
||||||
function setUp() {
|
function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
|
if(!file_exists(ASSETS_PATH)) mkdir(ASSETS_PATH);
|
||||||
|
|
||||||
/* Create a test folders for each of the fixture references */
|
/* Create a test folders for each of the fixture references */
|
||||||
$fileIDs = $this->allFixtureIDs('Folder');
|
$fileIDs = $this->allFixtureIDs('Folder');
|
||||||
|
Loading…
Reference in New Issue
Block a user