67 Commits

Author SHA1 Message Date
Claus-Peter Hübner
eedaf9e6e3 unit tests of AdminResolver now with Users and UserContacts 2022-08-31 23:04:55 +02:00
elweyn
9a7073415c Add TODO for listContributionLinks test of user without admin rights. 2022-08-08 11:14:11 +02:00
elweyn
5fb491572d Change test for listCOntributionLinks to get empty object as user without admin rights. 2022-08-08 11:04:24 +02:00
elweyn
7201fb6fc3 A User has now the right to get listContributionLinks. 2022-08-08 10:57:56 +02:00
clauspeterhuebner
e1fd44a295
Merge branch 'master' into origin/1921-rebase_from_master 2022-06-23 02:45:49 +02:00
Claus-Peter Hübner
47772a37b2 rework PR-comments 2022-06-23 02:42:20 +02:00
Claus-Peter Hübner
56baf51ccd add Tests for parameter checks of createContributionLink 2022-06-20 23:50:21 +02:00
Wolfgang Huß
00a224f0ce
Update backend/src/graphql/resolver/AdminResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-06-20 12:12:01 +02:00
Wolfgang Huß
036a966693
Update backend/src/graphql/resolver/AdminResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-06-20 12:11:49 +02:00
Wolfgang Huß
d9becacb4c
Update backend/src/graphql/resolver/AdminResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-06-20 12:11:38 +02:00
Wolfgang Huß
f1a23fe9b7
Update backend/src/graphql/resolver/AdminResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-06-20 12:11:30 +02:00
Wolfgang Huß
638e58c84e
Update backend/src/graphql/resolver/AdminResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-06-20 12:10:08 +02:00
Moriz Wahl
d3824ae642 Merge branch 'master' into 1881-set-role-in-admin-interface 2022-06-16 07:35:06 +02:00
Moriz Wahl
1de8c94ba3 rename updatePendingCreation 2022-06-15 20:01:53 +02:00
Moriz Wahl
2b87cbcd18 rename confirmPendingCreation 2022-06-15 19:33:40 +02:00
Moriz Wahl
dd04f69ecc rename deletePendingCreation 2022-06-15 19:22:01 +02:00
Moriz Wahl
d95b1893cd rename getPendingCreations 2022-06-15 19:13:19 +02:00
Moriz Wahl
6623849337 Merge branch 'master' into contributions-table 2022-06-15 16:50:50 +02:00
Moriz Wahl
5b7cb5cdf4 test CL-prefix on contribution links 2022-06-15 16:08:16 +02:00
Moriz Wahl
64a7f4aa6f remove CL-prefix for contribution links in tests 2022-06-15 16:04:14 +02:00
Moriz Wahl
ad3bb58d43 createContributionLink response contains contribution id 2022-06-15 15:19:29 +02:00
Moriz Wahl
eabd14bdf3 further renaming 2022-06-15 09:04:34 +02:00
Moriz Wahl
e60f06bb9b rename mutations to create admin contributions 2022-06-15 08:32:30 +02:00
Moriz Wahl
92b076e8b1 Merge branch 'master' into contributions-table 2022-06-14 19:12:43 +02:00
Moriz Wahl
7640680c42 seed two ContributionLinks 2022-06-14 18:04:20 +02:00
Moriz Wahl
dc46f4e78c add update contribution link mutation 2022-06-14 15:29:34 +02:00
Moriz Wahl
fa30b871b7 delete contribution link mutation 2022-06-14 13:12:41 +02:00
Moriz Wahl
8ba0a4af7c no only in admin resolver tests 2022-06-14 12:11:43 +02:00
Moriz Wahl
fd2f6a16b7 lsit contribution links query 2022-06-14 12:10:16 +02:00
Moriz Wahl
f258f63ee7 test createContributionLink 2022-06-14 10:43:03 +02:00
Wolfgang Huß
8dc1202305 Fix 'setUserRole' resolver tests 2022-06-09 16:43:40 +02:00
Wolfgang Huß
4b7a643275 Implement 'setUserRole' resolver and write tests (still with errors) 2022-06-09 16:23:01 +02:00
Wolfgang Huß
ca8ce34f68 Move 'searchUsers' query from mutations to queries, correct and refine test descriptions 2022-06-02 11:21:57 +02:00
Moriz Wahl
2c67d5f5fe filter args optional, now default values 2022-06-01 14:11:50 +02:00
Wolfgang Huß
8650f86a7d Put expected directly into the test after Moriz suggestion to get it better to debug 2022-06-01 10:26:53 +02:00
Wolfgang Huß
514a38ea38 Make transaction link filter object nullable 2022-05-31 11:00:56 +02:00
Wolfgang Huß
cabb844c2c Fix creation date for transaction links for seeding
- Add some commented code for future testing of 'withRedeemed', 'withExpired'.
2022-05-31 10:43:15 +02:00
Moriz Wahl
e44a41b22b contribution to transaction as transaction 2022-05-31 08:12:41 +02:00
Moriz Wahl
22944bce28 get tests running again 2022-05-30 15:00:23 +02:00
Moriz Wahl
5d8bf7f27c add logger to admin resolver, log some tracing, fix seeds 2022-05-30 14:50:58 +02:00
Wolfgang Huß
f064575864 Refine tests in AdminResolver.test.ts 2022-05-25 09:31:41 +02:00
Wolfgang Huß
cba20e8490 Rename TransactionLinkFilters fields from by* back to with* 2022-05-24 10:15:18 +02:00
Wolfgang Huß
b9790dea70 Fix an error 2022-05-23 12:49:45 +02:00
Wolfgang Huß
311aa023e4 Test listTransactionLinksAdmin resolver, a start 2022-05-23 12:45:31 +02:00
Wolfgang Huß
35b47844b7 Rename convertObjValuesToArray to objectValuesToArray 2022-05-23 07:02:32 +02:00
Wolfgang Huß
0c9f59d371 Merge branch '1840-refactor-to-filter-object' of github.com:gradido/gradido into 1840-refactor-to-filter-object--sub-rename+filters-obj
# Conflicts:
#	admin/src/pages/Creation.spec.js
#	admin/src/pages/Creation.vue
#	backend/src/graphql/resolver/AdminResolver.test.ts
#	backend/src/graphql/resolver/AdminResolver.ts
2022-05-19 18:29:44 +02:00
Wolfgang Huß
78c403e268 Refactor forgotten Creation.vue 2022-05-19 18:10:19 +02:00
Wolfgang Huß
a9a3f5b55a Rename filters properties 2022-05-19 17:09:40 +02:00
Wolfgang Huß
3ba19359a3 Make filters object nullable and writing resolver tests 2022-05-19 10:46:32 +02:00
Wolfgang Huß
cde9b171af Writing resolver tests 2022-05-19 10:45:02 +02:00