This commit is contained in:
syuilo 2023-05-07 12:53:41 +09:00
parent 95e7e003fd
commit 8a9cc0e711

View File

@ -221,8 +221,8 @@ describe('ユーザー', () => {
}, 1000 * 60 * 2); }, 1000 * 60 * 2);
beforeAll(async () => { beforeAll(async () => {
root = await signup({ username: 'alice' }); root = await signup({ username: 'root' });
alice = root; alice = await signup({ username: 'alice' });
aliceNote = await post(alice, { text: 'test' }) as any; aliceNote = await post(alice, { text: 'test' }) as any;
alicePage = await page(alice); alicePage = await page(alice);
aliceList = (await api('users/list/create', { name: 'aliceList' }, alice)).body; aliceList = (await api('users/list/create', { name: 'aliceList' }, alice)).body;