fix(tests): do not try to create tasks with bucket_id
This commit is contained in:
parent
6ad83c0685
commit
9f89fbe5a6
@ -20,7 +20,6 @@ function createSingleTaskInBucket(count = 1, attrs = {}) {
|
|||||||
})
|
})
|
||||||
const tasks = TaskFactory.create(count, {
|
const tasks = TaskFactory.create(count, {
|
||||||
project_id: projects[0].id,
|
project_id: projects[0].id,
|
||||||
bucket_id: buckets[0].id,
|
|
||||||
...attrs,
|
...attrs,
|
||||||
})
|
})
|
||||||
TaskBucketFactory.create(1, {
|
TaskBucketFactory.create(1, {
|
||||||
|
@ -467,7 +467,6 @@ describe('Task', () => {
|
|||||||
const tasks = TaskFactory.create(1, {
|
const tasks = TaskFactory.create(1, {
|
||||||
id: 1,
|
id: 1,
|
||||||
project_id: projects[0].id,
|
project_id: projects[0].id,
|
||||||
bucket_id: buckets[0].id,
|
|
||||||
})
|
})
|
||||||
const labels = LabelFactory.create(1)
|
const labels = LabelFactory.create(1)
|
||||||
LabelTaskFactory.truncate()
|
LabelTaskFactory.truncate()
|
||||||
@ -834,7 +833,6 @@ describe('Task', () => {
|
|||||||
const tasks = TaskFactory.create(1, {
|
const tasks = TaskFactory.create(1, {
|
||||||
id: 1,
|
id: 1,
|
||||||
project_id: projects[0].id,
|
project_id: projects[0].id,
|
||||||
bucket_id: buckets[0].id,
|
|
||||||
})
|
})
|
||||||
const labels = LabelFactory.create(1)
|
const labels = LabelFactory.create(1)
|
||||||
LabelTaskFactory.truncate()
|
LabelTaskFactory.truncate()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user