tests fix

This commit is contained in:
Kristaps Fabians Geikins
2024-09-26 15:26:16 +03:00
parent 168a22a9ac
commit c3e839ee81
@@ -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')
})