143 Commits

Author SHA1 Message Date
920f16aad5
corrected test name, some code style fixes 2023-03-07 13:33:08 +01:00
630a37cc51
rename event CONTRIBUTION_CONFIRM to ADMIN_CONTRIBUTION_CONFIRM, clean Eventtypes enum 2023-03-07 12:29:59 +01:00
17992d75ef
separate events into their own file, some nameing conventions 2023-03-07 12:29:59 +01:00
d204e79cd5
rename eventProtocolType to eventType 2023-03-07 12:29:02 +01:00
4379668268
Merge branch 'master' into event_refactor_database 2023-03-03 23:55:24 +01:00
Hannes Heine
d2afaad938
Merge branch 'master' into 2689-test-email-send-deny-deleted-contribution 2023-03-01 17:06:09 +01:00
elweyn
9fc1e45ed0 Merge branch '2689-test-email-send-deny-deleted-contribution' of https://github.com/gradido/gradido into 2689-test-email-send-deny-deleted-contribution 2023-03-01 05:21:03 +01:00
elweyn
3a6b701d3b Reduce mock of emails sendEmailVariant. 2023-03-01 05:16:37 +01:00
Hannes Heine
bfbf7954e3
Merge branch 'master' into 2689-test-email-send-deny-deleted-contribution 2023-03-01 05:03:44 +01:00
Moriz Wahl
be048be032 fix(backend): possible flaky test 2023-02-28 19:53:35 +01:00
elweyn
cc6d781c22 Add tests that emails are send for denied and deleted contributions. 2023-02-24 08:36:06 +01:00
Moriz Wahl
bee05397d2 fix test 2023-02-21 15:28:18 +01:00
Moriz Wahl
6e88068a88 Merge branch 'master' into remove-adminCreateContributions 2023-02-21 15:20:45 +01:00
Hannes Heine
1e7d4a779a
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-02-21 04:02:55 +01:00
Moriz Wahl
72165ac99d fix test 2023-02-20 14:39:05 +01:00
8744ff919e
fix contributionResolver tests 2023-02-18 02:01:31 +01:00
41569ad0f1
refactor events - first step to get backend working 2023-02-18 01:08:06 +01:00
elweyn
84c724daea Change to suggestion 2023-02-17 15:51:45 +01:00
elweyn
9ddef04f56 Change test name. 2023-02-17 15:46:53 +01:00
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