Adjusted test to conform to new form

This commit is contained in:
Wyatt Johnson
2017-04-17 16:05:44 -06:00
parent e729a673a3
commit fd6282077f
3 changed files with 17 additions and 14 deletions
+4 -1
View File
@@ -170,7 +170,10 @@ describe('graph.mutations.createComment', () => {
const context = new Context({user: new UserModel({status: 'ACTIVE'})});
return graphql(schema, query, {}, context, {
body
comment: {
asset_id: '123',
body
}
})
.then(({data, errors}) => {
expect(errors).to.be.undefined;