75 Commits

Author SHA1 Message Date
Alexander Friedland
46626441d4
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-18 08:09:56 +02:00
elweyn
1c301d34a2 Test for searchAdminUsers. 2022-08-17 11:37:13 +02:00
elweyn
6c707eae59 Start tests for searchAdminUsers. 2022-08-17 10:22:08 +02:00
Alexander Friedland
5d4670083f
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-17 09:14:21 +02:00
Claus-Peter Hübner
72e1de9f78 Merge remote-tracking branch 'origin/master' into
2125-feature-gradido-id-new-column-gradidoid-in-users-table
2022-08-16 17:10:15 +02:00
ogerly
73cf9bc8cc add dutch and frence 2022-08-16 11:54:11 +02:00
Claus-Peter Hübner
2b4e94ef66 add gradidoID-Test during createUser 2022-08-09 23:41:39 +02:00
ogerly
56bd17a265 fix test for backend 2022-08-07 23:08:44 +02:00
Wolfgang Huß
50f5667288 Merge branch 'master' of github.com:gradido/gradido into 1880-no-throw-when-register-with-existing-email
# Conflicts:
#	backend/src/graphql/resolver/UserResolver.ts
2022-06-20 13:56:25 +02:00
Moriz Wahl
409e44f679 store contribution link id on user when regsitered with contribution link code 2022-06-16 10:44:17 +02:00
Wolfgang Huß
c5f7673cf2 Change following the review suggestions of Alex and Moriz 2022-06-14 10:35:34 +02:00
Wolfgang Huß
c7923e3122 Refactor and write the tests of the 'createUser' resolver and the multi registration email 2022-06-02 15:45:49 +02:00
ogerly
18d0249029 remove files und code from coinanimation in backend 2022-05-29 12:36:00 +02:00
Moriz Wahl
5cac5d9cfb loggers are created only once, unify logger for unit tests 2022-05-16 16:02:12 +02:00
Moriz Wahl
d8d3339e9c fix test for logger 2022-05-10 19:44:20 +02:00
Moriz Wahl
700f8ada07 allow test environment to be loaded with mocked logger 2022-05-10 16:51:37 +02:00
Moriz Wahl
80b7305860 Silence logger for unit tests in user resolver. Make tests available for logger in user resolver 2022-05-10 16:33:40 +02:00
Moriz Wahl
54e119f88d fix test after alter is admin field 2022-04-25 16:20:00 +02:00
Moriz Wahl
89dea79ce1
Merge branch 'master' into more-user-resolver-tests 2022-04-25 16:05:24 +02:00
Moriz Wahl
0264931e58 test update user infos mutation. Remove publisher ID from update user infos as it is never used 2022-04-25 14:07:31 +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
d346a1d09d test verify login 2022-04-25 11:52:10 +02:00
Moriz Wahl
50bddf49e4 fix test for User.isAdmin as nullable date 2022-04-21 11:16:14 +02:00
Moriz Wahl
c9701574f3 seed with isAdmin, test user resolver with isAdmin 2022-04-20 11:44:34 +02:00
Moriz Wahl
a4b30b385f
Merge branch 'master' into show-valid-time-of-link-in-email 2022-03-29 19:49:24 +02:00
Moriz Wahl
8fd93ff853 remove test for remove optin from DB after email verification 2022-03-29 02:58:36 +02:00
Moriz Wahl
9eda41b24a Merge branch 'optin-valid-time' into show-valid-time-of-link-in-email 2022-03-29 00:59:47 +02:00
Moriz Wahl
965ab22bab create helper functions for time management, rename some functions 2022-03-24 18:17:46 +01:00
Moriz Wahl
34d3893f1c Merge branch 'master' into optin-valid-time 2022-03-24 14:00:41 +01:00
Moriz Wahl
174e1ab597 fix test 2022-03-23 17:12:09 +01:00
Moriz Wahl
ca0d97c47c test printEmailCodeValidTime 2022-03-23 16:03:52 +01:00
Moriz Wahl
807922a8d5 redeem code in email link config 2022-03-23 09:17:15 +01:00
Moriz Wahl
767387bb7c change {code} to {optin} to avoid confusion when redeem code is provided 2022-03-23 09:05:39 +01:00
Moriz Wahl
9b53458655 fix test 2022-03-22 19:38:51 +01:00
Alexander Friedland
fe869e12c4
Update backend/src/graphql/resolver/UserResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-03-22 12:31:44 +01:00
ogerly
8a2ca07b2e test UserResolver.test.js ok, with redeemCode 2022-03-22 07:09:58 +01:00
Moriz Wahl
5eccddec05 test that referrerId is present 2022-03-21 17:28:48 +01:00
Moriz Wahl
51c06741fc get test working with chages to the schema 2022-03-17 09:06:40 +01:00
Moriz Wahl
5e8e885841 fix test 2022-03-15 20:32:33 +01:00
Moriz Wahl
fef7c6b8cc rename userFactory 2022-03-15 17:41:22 +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
bc29e3d6a6 fix wrong db query in create user helper, improve isAuthorized, delete token to simulate unauthenticated 2022-03-14 16:17:11 +01:00
Moriz Wahl
109853d257 reset token not exported 2022-03-14 14:21:40 +01:00
Moriz Wahl
35cc38ba7c introduce reset token, comment isAuthorized 2022-03-14 14:15:24 +01:00
Moriz Wahl
1dd9f52259 try to fix the token reset 2022-03-14 13:50:30 +01:00
Moriz Wahl
60e83b56d1 feat: Test Logout 2022-03-14 12:56:58 +01:00