Skip to content

Commit

Permalink
fix(server): skip bad e2e test (immich-app#11957)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 authored Aug 21, 2024
1 parent 29d229c commit 817bd2e
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions e2e/src/api/specs/asset.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,14 @@ describe('/asset', () => {
}
});

it.each(TEN_TIMES)(
'should return 1 asset if there are 10 assets in the database but user 2 only has 1',
async () => {
const { status, body } = await request(app)
.get('/assets/random')
.set('Authorization', `Bearer ${user2.accessToken}`);
it.skip('should return 1 asset if there are 10 assets in the database but user 2 only has 1', async () => {
const { status, body } = await request(app)
.get('/assets/random')
.set('Authorization', `Bearer ${user2.accessToken}`);

expect(status).toBe(200);
expect(body).toEqual([expect.objectContaining({ id: user2Assets[0].id })]);
},
);
expect(status).toBe(200);
expect(body).toEqual([expect.objectContaining({ id: user2Assets[0].id })]);
});

it('should return error', async () => {
const { status } = await request(app)
Expand Down

0 comments on commit 817bd2e

Please sign in to comment.