Skip to content

Commit b2109af

Browse files
dreamorosiam29d
andauthored
test(idempotency): fix integration tests (#2622)
Co-authored-by: Alexander Schueren <[email protected]>
1 parent 395c6bc commit b2109af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: packages/idempotency/tests/e2e/makeIdempotent.test.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ describe(`Idempotency E2E tests, wrapper function usage`, () => {
111111
// Prepare
112112
const payload = {
113113
records: [
114-
{ id: 1, foo: 'bar' },
115-
{ id: 2, foo: 'baz' },
116-
{ id: 1, foo: 'bar' },
114+
{ foo: 'bar', id: 1 },
115+
{ foo: 'baz', id: 2 },
116+
{ foo: 'bar', id: 1 },
117117
],
118118
};
119119
const payloadHashes = payload.records.map((record) =>
@@ -173,9 +173,9 @@ describe(`Idempotency E2E tests, wrapper function usage`, () => {
173173
// Prepare
174174
const payload = {
175175
records: [
176-
{ id: 1, foo: 'bar' },
177-
{ id: 2, foo: 'baq' },
178-
{ id: 3, foo: 'bar' },
176+
{ foo: 'bar', id: 1 },
177+
{ foo: 'baq', id: 2 },
178+
{ foo: 'bar', id: 3 },
179179
],
180180
};
181181
const payloadHashes = payload.records.map((record) =>

0 commit comments

Comments
 (0)