124 Commits

Author SHA1 Message Date
elweyn
a54f171154 Remove console.log statement to test. 2023-02-17 13:57:02 +01:00
elweyn
62284bd016 Set test for adminListAllContributions at the end of the admin szenario. 2023-02-17 13:54:39 +01:00
Hannes Heine
a15b3265de
Merge branch 'master' into refactor-listUnconfirmedContribution-to-adminListAllContribution 2023-02-17 11:33:29 +01:00
elweyn
b1b3a060cb Merge master in refactor adminListContributions. 2023-02-17 11:20:43 +01:00
9fbce956df
missing merge change 2023-02-16 18:22:47 +01:00
aa0b3ad671
Merge branch 'master' into logger_creations 2023-02-16 18:19:40 +01:00
elweyn
40b2944b24 Check toEqual. 2023-02-16 15:41:04 +01:00
elweyn
b9c46d2238 Correct spelling error. 2023-02-15 12:33:13 +01:00
elweyn
00a45d7805 Corrected the expected amount from the ADMIN_CONTRIBUTION_DELETE event. 2023-02-15 12:17:17 +01:00
elweyn
11f19262b0 Add expected data to Protocols tests. 2023-02-15 11:40:02 +01:00
elweyn
d32b520145 Change test description to better naming. 2023-02-15 10:00:30 +01:00
elweyn
34fe6b4e90 Rework reviews, add the properties used in the ui for listContributions. 2023-02-15 09:44:00 +01:00
Hannes Heine
38b7234d96
Merge branch 'master' into refactor-deny-contribution-unit-test 2023-02-15 09:23:08 +01:00
ea42ac6a40
Merge branch 'master' into logger_creations 2023-02-14 20:14:16 +01:00
elweyn
6851ef3f62 Merge master in here. 2023-02-14 10:22:51 +01:00
elweyn
a615c741c2 Add tests that EVENT is stored in DB and has right values in userId. 2023-02-14 07:55:38 +01:00
5ffa2a4d8e
refactor message for test event 2023-02-13 13:34:34 +01:00
elweyn
16c44ff0c0 Merge test changes of master in this PR. 2023-02-13 12:57:47 +01:00
Hannes Heine
320f939f9b
Merge branch 'master' into refactor-deny-contribution-unit-test 2023-02-10 07:17:03 +01:00
Hannes Heine
4c03deccd3
Merge branch 'master' into refactor-listUnconfirmedContribution-to-adminListAllContribution 2023-02-09 17:37:37 +01:00
Hannes Heine
def51614d4
Merge branch 'master' into logger_contributionResolver 2023-02-09 17:20:52 +01:00
elweyn
6ff43e2d4c Change the expect.not.objectContaining to the state instead of the whole object. 2023-02-09 17:10:27 +01:00
elweyn
e5025a906c Deconstruct not authenticated. 2023-02-09 16:24:18 +01:00
elweyn
96feb30476 Deconstruct the listAllContributions test. 2023-02-09 16:08:57 +01:00
elweyn
bcf63ec334 Deconstruct test for listContributions. 2023-02-09 15:02:53 +01:00
0caff31e07
Update backend/src/graphql/resolver/ContributionResolver.test.ts 2023-02-09 14:16:49 +01:00
elweyn
712b64fd06 Add destructure for denyContribution tests. 2023-02-08 14:25:48 +01:00
mahula
b4b180a1d1 remove commented unused code 2023-02-08 13:39:42 +01:00
mahula
687ae6e877 remove commented unused code 2023-02-08 13:22:44 +01:00
elweyn
4cbfd83d5e Add deconstructing variables for updateContribution. 2023-02-08 11:51:09 +01:00
elweyn
65488b5c5c Test of createContribution are now centered on the final object. 2023-02-08 11:29:38 +01:00
ea1f637bb2
linting 2023-02-07 16:48:08 +01:00
8eaacc6699
implement LogError on creations and fix all corressponding tests 2023-02-07 12:50:29 +01:00
bf24d15d96
unify checks on adminCreateContribution and adminUpdateContribution 2023-02-06 22:37:38 +01:00
225652ecc7
refactor adminCreateContribution to check for deleted users 2023-02-06 22:30:23 +01:00
3724295b6f
test another error case 2023-02-06 20:37:51 +01:00
elweyn
ad16aff1ea Change listUnconfirmedContributions to adminListAllContributions. 2023-02-06 15:06:58 +01:00
elweyn
8c00fcd6cc Merge new unit tests for ContributionResolver. 2023-02-06 14:34:40 +01:00
elweyn
46e8a55d2e remove unused variable raeuber. 2023-02-06 09:48:20 +01:00
elweyn
b7343fdc3e Add test user raeuber hotzenplotz and deny already confirmed, deleted or denied contributions. 2023-02-06 09:25:44 +01:00
elweyn
0575c513c4 End refactoring of ContributionResolver.test. 2023-02-06 08:01:29 +01:00
elweyn
4f0cfb9363 Change structure of tests so that we create every data needed beforeAll unit tests. 2023-02-03 13:55:08 +01:00
a8c6534347
fix logger on contributionResolver 2023-02-03 01:17:15 +01:00
Hannes Heine
d40114df69
Merge branch 'master' into refactor-deny-contribution-unit-test 2023-02-02 15:19:56 +01:00
Hannes Heine
c659264e82
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 09:18:16 +01:00
Hannes Heine
676c6b2e7e
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 09:14:48 +01:00
Hannes Heine
27b54555ea
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 09:14:37 +01:00
Hannes Heine
44dabe0486
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 09:14:24 +01:00
Hannes Heine
55e830ee8d
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-02 09:14:04 +01:00
elweyn
f3f749889f Add Test for denyContribution. 2023-01-31 13:24:59 +01:00