update e2e tests

pull/27452/head
Tim Jones 2026-05-07 20:46:15 -07:00
parent 875eb1bb10
commit 73e1bad066
2 changed files with 2 additions and 1 deletions

View File

@ -139,6 +139,7 @@ describe('/server', () => {
maintenanceMode: false,
mapDarkStyleUrl: 'https://tiles.immich.cloud/v1/style/dark.json',
mapLightStyleUrl: 'https://tiles.immich.cloud/v1/style/light.json',
minFaces: 3,
});
});
});

View File

@ -233,7 +233,7 @@ describe('/users', () => {
it('should update minimum face count to display people', async () => {
const before = await getMyPreferences({ headers: asBearerAuth(admin.accessToken) });
expect(before).toMatchObject({ people: { minimumFaces: 1 } });
expect(before).toMatchObject({ people: { minimumFaces: 3 } });
const { status, body } = await request(app)
.put('/users/me/preferences')