Skip to content

Commit

Permalink
ci: Fix tests failing on MySQL (no-changelog) (#7208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov authored Sep 19, 2023
1 parent 3a47455 commit 28598ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/test/integration/credentials.controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ describe('GET /credentials', () => {

response.body.data.forEach(validateCredential);

const savedIds = [id1, id2];
const returnedIds = response.body.data.map((c) => c.id);
const savedIds = [id1, id2].sort();
const returnedIds = response.body.data.map((c) => c.id).sort();

expect(savedIds).toEqual(returnedIds);
});
Expand Down

0 comments on commit 28598ed

Please sign in to comment.