This commit is contained in:
syuilo 2023-05-07 16:41:37 +09:00
parent 8a9cc0e711
commit 61c12290fd

View File

@ -52,7 +52,7 @@ describe('ユーザー', () => {
type User = MeDetailed & { token: string }; type User = MeDetailed & { token: string };
const show = async (id: string, me = alice): Promise<MeDetailed | UserDetailedNotMe> => { const show = async (id: string, me = alice): Promise<MeDetailed | UserDetailedNotMe> => {
return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: me }) as any; return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: root }) as any;
}; };
// UserLiteのキーが過不足なく入っている // UserLiteのキーが過不足なく入っている