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: [
{
amount: 100,
amount2: 0,
gdt: 1700,
factor: 17,
factor2: 1,
comment: '',
coupon_code: '',
date: '2021-05-02T17:20:11+00:00',
email: 'bob@example.org',
gdt_entry_type_id: 1,
gdtEntryType: 1,
},
{
amount: 1810,
amount2: 0,
gdt: 362,
factor: 0.2,
factor2: 1,
comment: 'Dezember 20',
coupon_code: '',
date: '2020-12-31T12:00:00+00:00',
email: 'bob@example.org',
gdt_entry_type_id: 7,
gdtEntryType: 7,
},
{
amount: 100,
amount2: 0,
gdt: 1700,
factor: 17,
factor2: 1,
comment: '',
coupon_code: '',
date: '2020-05-07T17:00:00+00:00',
email: 'bob@example.org',
gdt_entry_type_id: 1,
gdtEntryType: 1,
},
{
amount: 100,
amount2: 0,
gdt: 110,
factor: 22,
factor2: 0.05,
comment: '',
coupon_code: '',
date: '2020-04-10T13:28:00+00:00',
email: 'em741@gmx.de',
gdt_entry_type_id: 4,
gdtEntryType: 4,
},
],
},