From 50985b2ffd3ea3a88d43031c939058825cacb8a8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 7 May 2023 16:42:19 +0900 Subject: [PATCH] fix test --- packages/backend/test/e2e/users.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/test/e2e/users.ts b/packages/backend/test/e2e/users.ts index a24c984b37..b4ccd40845 100644 --- a/packages/backend/test/e2e/users.ts +++ b/packages/backend/test/e2e/users.ts @@ -51,8 +51,8 @@ describe('ユーザー', () => { type User = MeDetailed & { token: string }; - const show = async (id: string, me = alice): Promise => { - return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: root }) as any; + const show = async (id: string, me = root): Promise => { + return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: me }) as any; }; // UserLiteのキーが過不足なく入っている?