diff --git a/packages/server/modules/core/tests/branches.spec.js b/packages/server/modules/core/tests/branches.spec.js index a76c055da..ec80f1a7a 100644 --- a/packages/server/modules/core/tests/branches.spec.js +++ b/packages/server/modules/core/tests/branches.spec.js @@ -153,7 +153,7 @@ describe('Branches @core-branches', () => { }) it('Should get a branch', async () => { - const myBranch = await getBranchById({ id: branch.id }) + const myBranch = await getBranchById(branch.id) expect(myBranch.authorId).to.equal(user.id) expect(myBranch.streamId).to.equal(stream.id) }) @@ -166,7 +166,7 @@ describe('Branches @core-branches', () => { userId: user.id }) - const b1 = await getBranchById({ id: branch.id }) + const b1 = await getBranchById(branch.id) expect(b1.description).to.equal('lorem ipsum') })