diff --git a/backend/src/graphql/resolver/ContributionResolver.test.ts b/backend/src/graphql/resolver/ContributionResolver.test.ts index 387018624..cf2d55d94 100644 --- a/backend/src/graphql/resolver/ContributionResolver.test.ts +++ b/backend/src/graphql/resolver/ContributionResolver.test.ts @@ -1961,8 +1961,7 @@ describe('ContributionResolver', () => { }) }) - // In the futrue this should not throw anymore - it('throws an error for the second confirmation', async () => { + it('throws no error for the second confirmation', async () => { const r1 = mutate({ mutation: confirmContribution, variables: { @@ -1982,8 +1981,7 @@ describe('ContributionResolver', () => { ) await expect(r2).resolves.toEqual( expect.objectContaining({ - // data: { confirmContribution: true }, - errors: [new GraphQLError('Creation was not successful.')], + data: { confirmContribution: true }, }), ) })