refactor: cli (#8199)

* refactor(cli): upload asset

* chore: e2e tests
This commit is contained in:
Jason Rasmussen 2024-03-22 14:38:00 -04:00 committed by GitHub
parent db744f500b
commit 5b7417bf64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 341 additions and 410 deletions

View file

@ -4,7 +4,8 @@ import { beforeAll, describe, expect, it } from 'vitest';
describe(`immich server-info`, () => {
beforeAll(async () => {
await utils.resetDatabase();
await utils.cliLogin();
const admin = await utils.adminSetup();
await utils.cliLogin(admin.accessToken);
});
it('should return the server info', async () => {