[Form] Tweak to FileTypeTest to avoid warning
This commit is contained in:
parent
78b2062c5e
commit
66cc555bb1
@ -25,7 +25,10 @@ class FileTypeTest extends TypeTestCase
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
self::$tmpDir = sys_get_temp_dir().DIRECTORY_SEPARATOR.'symfony-test';
|
||||
mkdir(self::$tmpDir, 0777, true);
|
||||
|
||||
if (!file_exists(self::$tmpDir)) {
|
||||
mkdir(self::$tmpDir, 0777, true);
|
||||
}
|
||||
}
|
||||
|
||||
protected function setUp()
|
||||
|
Reference in New Issue
Block a user