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 |
|
Moriz Wahl
|
4db0235738
|
await for the connection to close
|
2022-03-14 10:19:19 +01:00 |
|
Moriz Wahl
|
85ca10f000
|
refactor: No Reset DB in Backend Unit Tests
|
2022-03-14 10:10:57 +01:00 |
|
Moriz Wahl
|
dbb42c30ec
|
increase timeout by factoe 100
|
2022-03-09 17:07:32 +01:00 |
|
Moriz Wahl
|
c5ff18f461
|
use @paths
|
2022-03-08 18:04:55 +01:00 |
|
Moriz Wahl
|
6202c336b7
|
use graphql imports
|
2022-02-24 20:18:52 +01:00 |
|
Moriz Wahl
|
e60fc4e164
|
test login
|
2022-02-24 20:05:54 +01:00 |
|
Moriz Wahl
|
38d5eda9d2
|
set timeoute to 10000
|
2022-02-21 15:24:36 +01:00 |
|
Moriz Wahl
|
1f3c9d3908
|
get user resolver test running again
|
2022-02-21 14:57:16 +01:00 |
|
Moriz Wahl
|
4a5d1980a5
|
afterAll at top
|
2022-02-17 12:32:51 +01:00 |
|
Moriz Wahl
|
631346b63c
|
remove deleted entities
|
2022-02-16 13:19:27 +01:00 |
|
Moriz Wahl
|
1335bb8e26
|
activate UserResolver test again
|
2022-02-16 13:18:59 +01:00 |
|
|
|
869d9e303d
|
disabled UserResolver.test
|
2022-01-25 22:06:29 +01:00 |
|