From f59198d9c6ac9908654e698296c54126005cedef Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Sat, 30 Dec 2023 00:16:17 +0900 Subject: [PATCH] attempting to fix test --- packages/backend/test/e2e/users.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/test/e2e/users.ts b/packages/backend/test/e2e/users.ts index 9c4cbac3687a..2d0b7e52f1eb 100644 --- a/packages/backend/test/e2e/users.ts +++ b/packages/backend/test/e2e/users.ts @@ -179,6 +179,7 @@ describe('ユーザー', () => { policies: user.policies, ...(security ? { email: user.email, + signupReason: user.signupReason, emailVerified: user.emailVerified, securityKeysList: user.securityKeysList, } : {}), @@ -430,6 +431,7 @@ describe('ユーザー', () => { assert.deepStrictEqual(response.loggedInDays, 0); assert.deepStrictEqual(response.policies, DEFAULT_POLICIES); assert.notStrictEqual(response.email, undefined); + assert.notStrictEqual(response.signupReason, undefined); assert.strictEqual(response.emailVerified, false); assert.deepStrictEqual(response.securityKeysList, []); });