create folder after upload first file

This commit is contained in:
Čarodej
2022-02-18 09:32:19 +01:00
parent 6db8b0662a
commit 5be55b52bd
10 changed files with 89 additions and 15 deletions

View File

@@ -334,7 +334,7 @@ class VisitorManipulatingTest extends TestCase
'filename' => $file->name,
'file' => $file,
'parent_id' => $folder->id,
'path' => '/' . $file->name,
'path' => "/$file->name",
'is_last' => 'true',
])->assertStatus(201);
}
@@ -345,7 +345,7 @@ class VisitorManipulatingTest extends TestCase
'filename' => $file->name,
'file' => $file,
'parent_id' => $folder->id,
'path' => '/' . $file->name,
'path' => "/$file->name",
'is_last' => 'true',
])->assertStatus(201);
}