mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix authentication test
This commit is contained in:
parent
1e6d4cfe4b
commit
f0eae909b9
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user