43 Commits

Author SHA1 Message Date
Moriz Wahl
2343279e7b add createPendingCreations mutation 2022-04-27 11:35:18 +02:00
Moriz Wahl
e9eaa756b0 remove moderator from create pending creation mutation args 2022-04-27 11:10:21 +02:00
Moriz Wahl
2836d63f2f add unDelete User mutation 2022-04-27 09:59:21 +02:00
Moriz Wahl
5713b9ad3d user factory returns created user entity, add delete user mutation 2022-04-27 09:57:11 +02:00
Moriz Wahl
e5dd373f52 no console 2022-04-26 13:30:21 +02:00
Moriz Wahl
b06e3c3c04 proper TS definition 2022-04-26 13:28:36 +02:00
Moriz Wahl
e639b73283 debug server 2022-04-26 12:49:28 +02:00
Moriz Wahl
3ff2ee659e debug server 2022-04-26 12:47:40 +02:00
Moriz Wahl
d212ccb4b7 debug server 2022-04-26 12:45:23 +02:00
Moriz Wahl
ae679bcb4c debug server 2022-04-26 12:41:56 +02:00
Moriz Wahl
205a1d6fd4 debug server 2022-04-26 12:38:12 +02:00
Moriz Wahl
ad68c881ed debug server 2022-04-26 12:36:24 +02:00
Moriz Wahl
6d48b6f4e3 fix: Confirm Creation with Decimal 2022-04-26 09:27:55 +02:00
Moriz Wahl
89dea79ce1
Merge branch 'master' into more-user-resolver-tests 2022-04-25 16:05:24 +02:00
Moriz Wahl
e30d1f723f test queryOptIn 2022-04-25 13:18:08 +02:00
Moriz Wahl
276a1be889 test forgot password mutation 2022-04-25 12:49:23 +02:00
Moriz Wahl
fa6fbe38c8 User.isAdmin as nullable Date 2022-04-21 11:05:51 +02:00
Moriz Wahl
c9701574f3 seed with isAdmin, test user resolver with isAdmin 2022-04-20 11:44:34 +02:00
87aed30cfd
good catch 2022-04-12 14:57:46 +02:00
Moriz Wahl
06dcb2380e seed creations months ago from now 2022-03-31 13:48:15 +02:00
ogerly
2ea7cf6705 merge #1588 and resolve conflicts 2022-03-21 14:57:43 +01:00
ogerly
15e0186381 add redeemCode on register process for createUser 2022-03-21 10:54:56 +01:00
Moriz Wahl
7dfa0e37ee fix: id parameter to Int in seed 2022-03-19 13:08:37 +01:00
Moriz Wahl
689d6c3fb8 get transaction link id by mutation call 2022-03-17 08:58:07 +01:00
Moriz Wahl
8a350e7cab get user id by login query in seeds 2022-03-17 08:48:49 +01:00
Moriz Wahl
1182b94075 createUser returns User object, adopt mutations, reduce db calls in seed 2022-03-17 08:40:02 +01:00
Moriz Wahl
d1fe360157 Merge branch 'master' into seed-transaction-links 2022-03-16 22:10:16 +01:00
Moriz Wahl
3c04cf0621 move db call to get admin id before mutation 2022-03-16 21:18:01 +01:00
Moriz Wahl
691d734c50
Update backend/src/seeds/factory/creation.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2022-03-16 21:12:08 +01:00
Moriz Wahl
5b9463ca2a seed deleted and outdated transaction links 2022-03-15 21:24:44 +01:00
Moriz Wahl
12f3a7ab4a set up seed for transaction links 2022-03-15 21:03:55 +01:00
Moriz Wahl
a234266493 seed simple confired creations 2022-03-15 19:28:46 +01:00
Moriz Wahl
05a65aa98f add mutations from admin interface 2022-03-15 17:41:54 +01:00
Moriz Wahl
7e645e08fa pass ApolloServerTestClient as first argument of factories 2022-03-15 17:40:37 +01:00
Moriz Wahl
99c0ef1cf5 add faker, seed 100 random users 2022-03-15 17:05:55 +01:00
Moriz Wahl
764f1ee572 optional data set correctly 2022-03-15 16:32:32 +01:00
Moriz Wahl
d55caacf6b seed peter lustig as admin 2022-03-15 14:57:27 +01:00
Moriz Wahl
e45e580627 setup testClient for seeding 2022-03-15 12:30:02 +01:00
Moriz Wahl
00c70311a1 use factory to create user in test, use bibi bloxberg as seeded user (no admin) 2022-03-15 11:19:19 +01:00
Moriz Wahl
004627ddcf create factory folder, move user creation in factory 2022-03-15 10:23:24 +01:00
Moriz Wahl
b30f4dfa5d copy queries and mutations from frontend and use them 2022-03-15 10:17:36 +01:00
Moriz Wahl
69dddc9ea7 add stephen hawking as disabled user 2022-03-15 09:51:09 +01:00
Moriz Wahl
455a0ab754 add user interface and standard users 2022-03-15 09:49:15 +01:00