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 |
|
elweyn
|
787b2b9552
|
Add test for value null in statusFilter array.
|
2023-01-31 11:38:37 +01:00 |
|
elweyn
|
c63e6fd474
|
Add tests for listAllContributions statusFilter parameter.
|
2023-01-31 11:10:02 +01:00 |
|
elweyn
|
d5605d3afb
|
Add test for error case wrong statusFilter value.
|
2023-01-28 08:36:46 +01:00 |
|
elweyn
|
0bd3ce27df
|
Change Tests to statusFilter.
|
2023-01-25 16:48:49 +01:00 |
|
elweyn
|
9e7da0f451
|
Add tests for filterState parameter in listAllContributions query.
|
2023-01-25 08:11:47 +01:00 |
|
elweyn
|
47eea57c09
|
Remove unused import.
|
2023-01-25 08:00:34 +01:00 |
|
elweyn
|
cc0fe5968d
|
Tests that the filterState parameter in listAllContributions works as expected.
|
2023-01-25 07:54:17 +01:00 |
|
elweyn
|
2cecadded2
|
Add filterState to the backend test listAllContributions query.
|
2023-01-24 17:02:08 +01:00 |
|
Moriz Wahl
|
52f9da5c0d
|
fix(backend): admin cannot delete confirmed contribution
|
2023-01-18 15:06:18 +01:00 |
|
Moriz Wahl
|
8f9e77a9c1
|
add test: confirming a confirmed contribution throws
|
2023-01-11 21:40:11 +01:00 |
|
Moriz Wahl
|
6389697bd6
|
reset unit tests
|
2023-01-11 21:13:38 +01:00 |
|
|
|
340554b815
|
skipped alot of test due to unknown timeout errors
|
2023-01-11 15:39:33 +01:00 |
|
Moriz Wahl
|
e009fcb87d
|
Merge branch 'master' into seed-contributions
|
2023-01-09 14:49:21 +01:00 |
|
Moriz Wahl
|
cb55da5d32
|
confirming two contributions at once does not throw anymore
|
2022-12-15 15:58:02 +01:00 |
|
|
|
a8995914f3
|
Merge branch 'master' into seed-contributions
# Conflicts:
# backend/src/graphql/resolver/AdminResolver.test.ts
|
2022-12-15 15:40:39 +01:00 |
|