mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
Test was failing as I was not returning an error.
This commit is contained in:
@@ -32,7 +32,6 @@ describe('graph.mutations.ignoreUser', () => {
|
||||
|
||||
// @TODO (bengo) - test a user can't ignore themselves
|
||||
it('users can ignoreUser', async () => {
|
||||
UsersService.findLocalUser('usernameB@example.com');
|
||||
const user = await UsersService.createLocalUser('usernameA@example.com', 'password', 'usernameA');
|
||||
const userToIgnore = await UsersService.createLocalUser('usernameB@example.com', 'password', 'usernameB');
|
||||
const context = new Context({user});
|
||||
|
||||
Reference in New Issue
Block a user