mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
applied rename to graph mutation edges
This commit is contained in:
@@ -46,7 +46,7 @@ describe('graph.mutations.banUser', () => {
|
||||
}
|
||||
|
||||
mutation UnBanUser($user_id: ID!) {
|
||||
unBanUser(input: {
|
||||
unbanUser(input: {
|
||||
id: $user_id
|
||||
}) {
|
||||
errors {
|
||||
@@ -112,7 +112,7 @@ describe('graph.mutations.banUser', () => {
|
||||
console.error(res.errors);
|
||||
}
|
||||
expect(res.errors).to.be.undefined;
|
||||
expect(res.data.unBanUser).to.be.null;
|
||||
expect(res.data.unbanUser).to.be.null;
|
||||
|
||||
user = await UserModel.findOne({id: user.id});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user