fix authentication test

This commit is contained in:
Moriz Wahl 2023-06-20 13:16:35 +02:00
parent 1e6d4cfe4b
commit f0eae909b9

View File

@ -464,6 +464,13 @@ describe('ContributionMessageResolver', () => {
})
describe('authenticated as user', () => {
beforeAll(async () => {
await mutate({
mutation: login,
variables: { email: 'bibi@bloxberg.de', password: 'Aa12345_' },
})
})
it('returns an error', async () => {
await expect(
mutate({