This commit is contained in:
Robert Schäfer 2019-05-21 02:07:43 +02:00
parent 2a22aaa907
commit 9dd35a887a

View File

@ -68,7 +68,8 @@ describe('users', () => {
it('with no name', async () => {
const variables = {
id: 'u47'
id: 'u47',
name: null
}
const expected = 'Username must be at least 3 characters long!'
await expect(client.request(mutation, variables))