diff --git a/tests/resolvers/Mutation/updateUserProfile.spec.ts b/tests/resolvers/Mutation/updateUserProfile.spec.ts index 96b05c2d01..6e3990fe1d 100644 --- a/tests/resolvers/Mutation/updateUserProfile.spec.ts +++ b/tests/resolvers/Mutation/updateUserProfile.spec.ts @@ -202,7 +202,7 @@ describe("resolvers -> Mutation -> updateUserProfile", () => { it(`updates if email not changed by user`, async () => { const args: MutationUpdateUserProfileArgs = { data: { - email: decryptEmail(testUser.email).decrypted, + email: testUser.email, }, }; @@ -227,7 +227,7 @@ describe("resolvers -> Mutation -> updateUserProfile", () => { it(`updates current user's user object when any single argument(email) is given w/0 changing other fields `, async () => { const args: MutationUpdateUserProfileArgs = { data: { - email: `email${nanoid().toLowerCase()}@gmail.com`, + email: testUser.email, }, }; @@ -577,7 +577,7 @@ describe("resolvers -> Mutation -> updateUserProfile", () => { it(`updates current user's user object and returns the object`, async () => { const args: MutationUpdateUserProfileArgs = { data: { - email: `email${nanoid().toLowerCase()}@gmail.com`, + email: testUser.email, firstName: "newFirstName", lastName: "newLastName", birthDate: date,