Duplicate attachments & external links during task duplication & importing

This commit is contained in:
mundry
2023-03-25 03:48:32 +01:00
committed by GitHub
parent 39d78cf424
commit 59a4c7f73b
6 changed files with 62 additions and 4 deletions

View File

@@ -435,7 +435,7 @@ class TaskFileModelTest extends Base
$this->assertEquals(2, $fileModel->create(1, 'test', 'tmp/foo', 10));
$this->container['objectStorage']
->expects($this->exactly(2))
->expects($this->exactly(1))
->method('remove')
->with('tmp/foo');