fix(tests): do not try to create tasks with bucket_id

This commit is contained in:
kolaente 2024-03-20 10:54:37 +01:00
parent 6ad83c0685
commit 9f89fbe5a6
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 0 additions and 3 deletions

View File

@ -20,7 +20,6 @@ function createSingleTaskInBucket(count = 1, attrs = {}) {
})
const tasks = TaskFactory.create(count, {
project_id: projects[0].id,
bucket_id: buckets[0].id,
...attrs,
})
TaskBucketFactory.create(1, {

View File

@ -467,7 +467,6 @@ describe('Task', () => {
const tasks = TaskFactory.create(1, {
id: 1,
project_id: projects[0].id,
bucket_id: buckets[0].id,
})
const labels = LabelFactory.create(1)
LabelTaskFactory.truncate()
@ -834,7 +833,6 @@ describe('Task', () => {
const tasks = TaskFactory.create(1, {
id: 1,
project_id: projects[0].id,
bucket_id: buckets[0].id,
})
const labels = LabelFactory.create(1)
LabelTaskFactory.truncate()