diff --git a/test/graph/mutations/addCommentTag.js b/test/graph/mutations/addCommentTag.js index fcbb0d0e8..14a746705 100644 --- a/test/graph/mutations/addCommentTag.js +++ b/test/graph/mutations/addCommentTag.js @@ -10,7 +10,7 @@ const CommentsService = require('../../../services/comments'); describe('graph.mutations.addCommentTag', () => { let comment; beforeEach(async () => { - SettingsService.init(); + await SettingsService.init(); comment = await CommentsService.publicCreate({body: `hello there! ${ String(Math.random()).slice(2)}`}); }); diff --git a/test/graph/mutations/removeCommentTag.js b/test/graph/mutations/removeCommentTag.js index c10f70172..99def095d 100644 --- a/test/graph/mutations/removeCommentTag.js +++ b/test/graph/mutations/removeCommentTag.js @@ -10,7 +10,7 @@ const CommentsService = require('../../../services/comments'); describe('graph.mutations.removeCommentTag', () => { let comment; beforeEach(async () => { - SettingsService.init(); + await SettingsService.init(); comment = await CommentsService.publicCreate({body: `hello there! ${ String(Math.random()).slice(2)}`}); });