Update backend/src/graphql/resolver/KlicktippResolver.test.ts

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
Hannes Heine 2023-04-06 14:53:35 +02:00 committed by GitHub
parent f36bc61a70
commit 7d12ecbe98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}),