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 |
|
Moriz Wahl
|
2e25c280cf
|
Merge branch 'master' into paginate-user-table
|
2022-01-18 12:54:59 +01:00 |
|
|
|
90effb41b5
|
changed syntax again due to shell replacing $variables
|
2022-01-14 18:49:35 +01:00 |
|
|
|
5217b347be
|
replace all $1 url variables with something meaningfull, since $1 is replaced in scripting
|
2022-01-14 10:24:47 +01:00 |
|
Moriz Wahl
|
8d800fc7da
|
test some error cases
|
2022-01-13 09:55:09 +01:00 |
|
Moriz Wahl
|
4bac268de3
|
test setPassword with success
|
2022-01-13 09:30:53 +01:00 |
|
Moriz Wahl
|
c05f32cf5f
|
sendAccountActivationEmail with object as arg
|
2022-01-12 12:19:45 +01:00 |
|
Moriz Wahl
|
c6863d6e64
|
sendAccountActivationEmail in separate file
|
2022-01-12 11:02:49 +01:00 |
|
Moriz Wahl
|
b7186209f1
|
sendAccountActivationEmail as imprted function
|
2022-01-04 18:37:59 +01:00 |
|
Moriz Wahl
|
56afb18e81
|
test publisher id
|
2021-12-29 14:02:17 +01:00 |
|
Moriz Wahl
|
5c79d34ef3
|
test language, make pubkey unique, migrations dir from config
|
2021-12-28 17:36:41 +01:00 |
|
Moriz Wahl
|
6a666edc9f
|
test account activation email is sent
|
2021-12-27 20:48:39 +01:00 |
|
Moriz Wahl
|
fbac95f352
|
remove emoty file, test content of user tables after registration
|
2021-12-27 17:26:58 +01:00 |
|
Moriz Wahl
|
3d349b2121
|
feat: Test Create User Mutation
|
2021-12-27 15:57:04 +01:00 |
|