mirror of
https://github.com/immich-app/immich.git
synced 2026-03-30 22:02:44 -04:00
test: update e2e tests with refactoring changes
This commit is contained in:
parent
7f8b0772a9
commit
a9867c3f94
@ -403,7 +403,7 @@ describe('/admin/integrity', () => {
|
||||
|
||||
expect(status).toBe(200);
|
||||
expect(body).toEqual({
|
||||
hasNextPage: expect.any(Boolean),
|
||||
nextCursor: undefined,
|
||||
items: expect.arrayContaining([
|
||||
{
|
||||
id: expect.any(String),
|
||||
@ -411,6 +411,7 @@ describe('/admin/integrity', () => {
|
||||
path: `/data/upload/${admin.userId}/untracked1.png`,
|
||||
assetId: null,
|
||||
fileAssetId: null,
|
||||
createdAt: expect.any(String),
|
||||
},
|
||||
]),
|
||||
});
|
||||
@ -432,7 +433,7 @@ describe('/admin/integrity', () => {
|
||||
|
||||
expect(status).toBe(200);
|
||||
expect(body).toEqual({
|
||||
hasNextPage: expect.any(Boolean),
|
||||
nextCursor: undefined,
|
||||
items: expect.arrayContaining([
|
||||
{
|
||||
id: expect.any(String),
|
||||
@ -440,6 +441,7 @@ describe('/admin/integrity', () => {
|
||||
path: expect.any(String),
|
||||
assetId: asset.id,
|
||||
fileAssetId: null,
|
||||
createdAt: expect.any(String),
|
||||
},
|
||||
]),
|
||||
});
|
||||
@ -461,7 +463,7 @@ describe('/admin/integrity', () => {
|
||||
|
||||
expect(status).toBe(200);
|
||||
expect(body).toEqual({
|
||||
hasNextPage: expect.any(Boolean),
|
||||
nextCursor: undefined,
|
||||
items: expect.arrayContaining([
|
||||
{
|
||||
id: expect.any(String),
|
||||
@ -469,6 +471,7 @@ describe('/admin/integrity', () => {
|
||||
path: expect.any(String),
|
||||
assetId: asset.id,
|
||||
fileAssetId: null,
|
||||
createdAt: expect.any(String),
|
||||
},
|
||||
]),
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user