better test data

This commit is contained in:
Moriz Wahl 2021-08-18 09:43:29 +02:00
parent e416bd1b34
commit 32fb0698b9

View File

@ -10,51 +10,35 @@ const apolloMock = jest.fn().mockResolvedValue({
gdtEntries: [ gdtEntries: [
{ {
amount: 100, amount: 100,
amount2: 0,
gdt: 1700, gdt: 1700,
factor: 17, factor: 17,
factor2: 1,
comment: '', comment: '',
coupon_code: '',
date: '2021-05-02T17:20:11+00:00', date: '2021-05-02T17:20:11+00:00',
email: 'bob@example.org', gdtEntryType: 1,
gdt_entry_type_id: 1,
}, },
{ {
amount: 1810, amount: 1810,
amount2: 0,
gdt: 362, gdt: 362,
factor: 0.2, factor: 0.2,
factor2: 1,
comment: 'Dezember 20', comment: 'Dezember 20',
coupon_code: '',
date: '2020-12-31T12:00:00+00:00', date: '2020-12-31T12:00:00+00:00',
email: 'bob@example.org', gdtEntryType: 7,
gdt_entry_type_id: 7,
}, },
{ {
amount: 100, amount: 100,
amount2: 0,
gdt: 1700, gdt: 1700,
factor: 17, factor: 17,
factor2: 1,
comment: '', comment: '',
coupon_code: '',
date: '2020-05-07T17:00:00+00:00', date: '2020-05-07T17:00:00+00:00',
email: 'bob@example.org', gdtEntryType: 1,
gdt_entry_type_id: 1,
}, },
{ {
amount: 100, amount: 100,
amount2: 0,
gdt: 110, gdt: 110,
factor: 22, factor: 22,
factor2: 0.05,
comment: '', comment: '',
coupon_code: '',
date: '2020-04-10T13:28:00+00:00', date: '2020-04-10T13:28:00+00:00',
email: 'em741@gmx.de', gdtEntryType: 4,
gdt_entry_type_id: 4,
}, },
], ],
}, },