From 378622f7e8bc5835ac42171497ad34830e80949d Mon Sep 17 00:00:00 2001 From: Benjamin Goering Date: Wed, 1 Mar 2017 12:46:35 +0800 Subject: [PATCH] commentTag mutation tests await SettingsService --- test/graph/mutations/addCommentTag.js | 2 +- test/graph/mutations/removeCommentTag.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)}`}); });