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のキーが過不足なく入っている?