Permalink
Browse files

MINOR UploadTest now cleans up after itself when it creates a custom …

…folder relative to assets (from r100991)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111562 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 7f147f9 commit 0abbef5fa3df492107fba27e5c0a95bf22dee3b4 @sminnee sminnee committed Oct 4, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/filesystem/UploadTest.php
@@ -57,6 +57,7 @@ function testUpload() {
$file2->delete();
unlink($tmpFilePath);
+ rmdir(Director::baseFolder() . '/assets/' . $customFolder);
}
function testAllowedFilesize() {

0 comments on commit 0abbef5

Please sign in to comment.