mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
fix test
This commit is contained in:
parent
61c12290fd
commit
50985b2ffd
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ 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 = root): Promise<MeDetailed | UserDetailedNotMe> => {
|
||||||
return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: root }) as any;
|
return successfulApiCall({ endpoint: 'users/show', parameters: { userId: id }, user: me }) as any;
|
||||||
};
|
};
|
||||||
|
|
||||||
// UserLiteのキーが過不足なく入っている?
|
// UserLiteのキーが過不足なく入っている?
|
||||||
|
|
Loading…
Reference in a new issue