Fix bucket test fixture when moving tasks between lists test

This commit is contained in:
kolaente 2021-03-24 22:47:32 +01:00
parent 2435bd68a0
commit 51a18f07bc
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -410,8 +410,11 @@ describe('Lists', () => {
.should('contain', `/tasks/${tasks[0].id}`) .should('contain', `/tasks/${tasks[0].id}`)
}) })
it('Should remove a task from the kanban board when moving it to another list', () => { it.only('Should remove a task from the kanban board when moving it to another list', () => {
const lists = ListFactory.create(2) const lists = ListFactory.create(2)
BucketFactory.create(2, {
list_id: '{increment}',
})
const tasks = TaskFactory.create(5, { const tasks = TaskFactory.create(5, {
id: '{increment}', id: '{increment}',
list_id: 1, list_id: 1,