mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(server): improve e2e test speed (#5026)
* feat: improve shared link (41s to 8s) * feat: improve activity (18s to 8s) * feat: improve partner (20s to 10s) * feat: improve server-info (10s to 6s) * feat: improve system-config * fix: e2e * chore: linting
This commit is contained in:
parent
6214d510d6
commit
6127fd4c5c
12 changed files with 307 additions and 226 deletions
|
|
@ -22,10 +22,6 @@ describe(`${OAuthController.name} (e2e)`, () => {
|
|||
});
|
||||
|
||||
describe('POST /oauth/authorize', () => {
|
||||
beforeEach(async () => {
|
||||
await db.reset();
|
||||
});
|
||||
|
||||
it(`should throw an error if a redirect uri is not provided`, async () => {
|
||||
const { status, body } = await request(server).post('/oauth/authorize').send({});
|
||||
expect(status).toBe(400);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue