set moderator > 0, as we have no ids with value 0 and 0 evaluates to false

This commit is contained in:
Moriz Wahl 2022-07-25 14:37:40 +02:00
parent 09c9ad111f
commit 00ca2bb9a9

View File

@ -18,7 +18,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
amount: 500,
memo: 'Danke für alles',
date: new Date(),
moderator: 0,
moderator: 2,
},
{
id: 2,
@ -28,7 +28,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
amount: 1000000,
memo: 'Gut Ergattert',
date: new Date(),
moderator: 0,
moderator: 2,
},
],
},