Duplicate tags when moving and duplicating tasks to another project

This commit is contained in:
Libin Pan
2021-06-07 19:36:08 -07:00
committed by GitHub
parent 66d9245f33
commit c6ae9f3f24
5 changed files with 28 additions and 12 deletions

View File

@@ -370,8 +370,9 @@ class TaskProjectDuplicationModelTest extends Base
// Check tags
$tags = $taskTagModel->getList(2);
$this->assertCount(2, $tags);
$this->assertCount(3, $tags);
$this->assertArrayHasKey(3, $tags);
$this->assertArrayHasKey(6, $tags);
$this->assertArrayHasKey(7, $tags);
}
}