From d9d3f5e85b22d8e01a8738ffcb92f844891a2daa Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Wed, 12 Apr 2017 21:17:07 -0300 Subject: [PATCH] Tests and cleanup, 2 to go --- test/server/graph/mutations/createComment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/server/graph/mutations/createComment.js b/test/server/graph/mutations/createComment.js index b3bdd459a..651c8f176 100644 --- a/test/server/graph/mutations/createComment.js +++ b/test/server/graph/mutations/createComment.js @@ -12,8 +12,8 @@ describe('graph.mutations.createComment', () => { beforeEach(() => SettingsService.init()); const query = ` - mutation CreateComment($body: String = "Here's my comment!") { - createComment(asset_id: "123", body: $body) { + mutation CreateComment($comment: CreateCommentInput = {asset_id: 123, body: "Here's my comment!"}) { + createComment(comment: $comment) { comment { id status