From c3e839ee8169ef87f421a8650fd73be87c21ff34 Mon Sep 17 00:00:00 2001 From: Kristaps Fabians Geikins Date: Thu, 26 Sep 2024 15:26:16 +0300 Subject: [PATCH] tests fix --- packages/server/modules/core/tests/branches.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') })