From b0af28792a4f84ce5bdaa8914f26e4e0d83b976a Mon Sep 17 00:00:00 2001 From: Matteo Cominetti Date: Tue, 13 Oct 2020 14:57:29 +0100 Subject: [PATCH] test(commit): adds check for authorId field --- modules/core/tests/commits.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/tests/commits.spec.js b/modules/core/tests/commits.spec.js index 15008cbb5..84fad5d4f 100644 --- a/modules/core/tests/commits.spec.js +++ b/modules/core/tests/commits.spec.js @@ -105,6 +105,7 @@ describe( 'Commits', ( ) => { it( 'Should get a commit by id', async ( ) => { let cm = await getCommitById( { id: commitId1 } ) expect( cm.message ).to.equal( 'FIRST COMMIT YOOOOOO' ) + expect( cm.authorId ).to.equal( user.id ) } ) it( 'Should get the commits from a branch', async ( ) => {