mirror of
https://github.com/wassname/talk.git
synced 2026-07-18 12:40:13 +08:00
Adjusted test to conform to new form
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user