mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
ci: Fix tests failing on MySQL (no-changelog) (#7208)
https://github.com/n8n-io/n8n/actions/runs/6229338666/job/16907667212
This commit is contained in:
parent
3a474552b2
commit
28598ed1a7
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue