From 57e89a3d573a44487a2cc18347ccda17231a2b87 Mon Sep 17 00:00:00 2001 From: Alex Sheiko <61295121+Kelamir@users.noreply.github.com> Date: Thu, 2 Mar 2023 10:46:01 +0200 Subject: [PATCH] Fix test from failing --- content/300-guides/150-testing/100-unit-testing.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/300-guides/150-testing/100-unit-testing.mdx b/content/300-guides/150-testing/100-unit-testing.mdx index 0cb0b4b5aa..fb0472e419 100644 --- a/content/300-guides/150-testing/100-unit-testing.mdx +++ b/content/300-guides/150-testing/100-unit-testing.mdx @@ -294,6 +294,7 @@ test('should update a users name ', async () => { id: 1, name: 'Rich Haines', email: 'hello@prisma.io', + acceptTermsAndConditions: true, } prismaMock.user.update.mockResolvedValue(user) @@ -302,6 +303,7 @@ test('should update a users name ', async () => { id: 1, name: 'Rich Haines', email: 'hello@prisma.io', + acceptTermsAndConditions: true, }) })