Corrected the spelling errors and withdrew admin creation on update scenario.

This commit is contained in:
elweyn 2022-07-12 13:01:46 +02:00
parent 90d2ffbff3
commit 32d79bb61c

View File

@ -262,11 +262,6 @@ describe('ContributionResolver', () => {
beforeAll(async () => {
await userFactory(testEnv, peterLustig)
await userFactory(testEnv, bibiBloxberg)
// bibi needs GDDs
const bibisCreation = creations.find((creation) => creation.email === 'bibi@bloxberg.de')
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
await creationFactory(testEnv, bibisCreation!)
// await userFactory(testEnv, bibiBloxberg)
await query({
query: login,
variables: { email: 'bibi@bloxberg.de', password: 'Aa12345_' },
@ -337,7 +332,7 @@ describe('ContributionResolver', () => {
})
})
describe('update to much so that the limit is exceeded', () => {
describe('update too much so that the limit is exceeded', () => {
beforeAll(async () => {
await query({
query: login,