diff --git a/backend/src/graphql/resolver/KlicktippResolver.test.ts b/backend/src/graphql/resolver/KlicktippResolver.test.ts index 322131480..20669d242 100644 --- a/backend/src/graphql/resolver/KlicktippResolver.test.ts +++ b/backend/src/graphql/resolver/KlicktippResolver.test.ts @@ -77,7 +77,7 @@ describe('KlicktippResolver', () => { ) await expect(DbEvent.find()).resolves.toContainEqual( expect.objectContaining({ - type: EventType.SUBSCRIBE_NEWSLETTER, + type: EventType.NEWSLETTER_SUBSCRIBE, affectedUserId: userConatct.user.id, actingUserId: userConatct.user.id, }),