21 Commits

Author SHA1 Message Date
Moriz Wahl
6f0c3c11a5 improve matching of created pending creation, see TODO 2022-04-27 17:51:26 +02:00
Moriz Wahl
61f3da38fa creation factory returns unconfirmed creation object 2022-04-27 12:13:57 +02:00
Moriz Wahl
e9eaa756b0 remove moderator from create pending creation mutation args 2022-04-27 11:10: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
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
Moriz Wahl
06dcb2380e seed creations months ago from now 2022-03-31 13:48:15 +02: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
7e645e08fa pass ApolloServerTestClient as first argument of factories 2022-03-15 17:40:37 +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
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