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:24 +02:00 committed by GitHub
parent 3990135c7a
commit f36bc61a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ describe('KlicktippResolver', () => {
)
await expect(DbEvent.find()).resolves.toContainEqual(
expect.objectContaining({
type: EventType.UNSUBSCRIBE_NEWSLETTER,
type: EventType.NEWSLETTER_UNSUBSCRIBE,
affectedUserId: userConatct.user.id,
actingUserId: userConatct.user.id,
}),