Filename as original

This commit is contained in:
Peter Papp
2021-06-18 17:23:40 +02:00
parent 24676e2392
commit f6f9199b87
8 changed files with 23 additions and 8 deletions

View File

@@ -415,6 +415,7 @@ class FolderTest extends TestCase
->create("fake-file-$index.pdf", 1200, 'application/pdf');
$this->postJson('/api/upload', [
'filename' => $file->name,
'file' => $file,
'folder_id' => $folder->id,
'is_last' => true,
@@ -483,6 +484,7 @@ class FolderTest extends TestCase
->create("fake-file-$index.pdf", 1200, 'application/pdf');
$this->postJson('/api/upload', [
'filename' => $file->name,
'file' => $file,
'folder_id' => $folder->id,
'is_last' => true,