Skip to content
Snippets Groups Projects
Commit ade9789a authored by Sebastien's avatar Sebastien
Browse files

Force legacy directory creation on tests set up

parent 3fc749d9
No related branches found
No related tags found
1 merge request!84Tuleap 198 get rid of create zip
Pipeline #1003 passed
......@@ -17,6 +17,9 @@ class CapsuleControllerTest extends WebTestCase
protected function setUp(): void
{
$fileSystem = new Filesystem();
if (!$fileSystem->exists(self::TEST_DIR_PATH)) {
$fileSystem->mkdir(self::TEST_DIR_PATH, 0644);
}
$this->assertTrue(
$fileSystem->exists(self::TEST_DIR_PATH),
'The directory \'' . self::TEST_DIR_PATH . '\' should exists'
......
......@@ -22,6 +22,9 @@ class ProjectControllerTest extends WebTestCase
protected function setUp(): void
{
$fileSystem = new Filesystem();
if (!$fileSystem->exists(self::TEST_DIR_PATH)) {
$fileSystem->mkdir(self::TEST_DIR_PATH, 0644);
}
$this->assertTrue(
$fileSystem->exists(self::TEST_DIR_PATH),
'The directory \'' . self::TEST_DIR_PATH . '\' should exists'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment