Ali BARIN
bccd56f994
test(user): expect sorted connections in authorizedConnections
2024-12-17 14:26:55 +00:00
Ali BARIN
a1c1287548
test(AppAuthClient): remove unused AppConfig import statement
2024-12-17 14:26:55 +00:00
Ali BARIN
a57134a89c
feat(AppConfig): iterate how apps are managed
...
- auth clients are always shared, cannot be disabled
- custom connections are enabled by default, can be disabled
- any existing connections can be reconnected regardless of its AppConfig or AppAuthClient states
2024-12-17 14:26:55 +00:00
Ali BARIN
cf7e2e0880
refactor(app-config): remove obsolete properties
2024-12-17 14:26:55 +00:00
Ali BARIN
613f744dd6
feat(app-config): add useOnlyPredefinedAuthClients property
2024-12-17 14:26:55 +00:00
Ali BARIN
26b095b835
test(user): use relative future dates
2024-12-05 11:46:38 +00:00
Ömer Faruk Aydın
feba2a32f9
Merge pull request #2235 from automatisch/rearrange-user-tests
...
refactor: Reorder user model tests
2024-11-28 15:57:10 +03:00
Faruk AYDIN
221b19586e
refactor: Reorder user model tests
2024-11-28 15:39:12 +03:00
Faruk AYDIN
6e97e023c9
test: Add tests for updateRoleMappings method for saml auth provider
2024-11-27 17:19:24 +03:00
Faruk AYDIN
b26e2ecf2e
test: Add tests for terminateRemoteSession method
2024-11-27 17:04:37 +03:00
Faruk AYDIN
d896238f23
test: Implement generateLogoutRequestBody test for saml auth provider model
2024-11-27 16:59:49 +03:00
Faruk AYDIN
d2c8f5a75c
test: Add test for config method of saml auth providers
2024-11-27 16:47:50 +03:00
Ali BARIN
ee397441ed
refactor: update RoleMapping references
2024-11-25 15:13:14 +00:00
Ali BARIN
ba82d986c1
chore(migrations): rename saml_auth_providers_role_mappings table as role_mappings
2024-11-25 15:03:26 +00:00
Ali BARIN
6c60b1c263
test(user): write tests for $afterInsert and $afterFind
2024-11-25 14:45:18 +03:00
Ali BARIN
807faa3c93
test(user): write tests for $beforeInsert and $beforeUpdate
2024-11-25 14:38:32 +03:00
Ali BARIN
4ffdf98e16
test(user): write tests for ability and can
2024-11-25 14:17:44 +03:00
Ali BARIN
db8b98ca16
test(user): write tests for registerUser
2024-11-25 12:56:17 +03:00
Ali BARIN
8ca4bc5a33
test(user): write test for createAdmin
2024-11-25 12:43:45 +03:00
Ali BARIN
db718d6fc3
test(user): write tests for getInvoices
2024-11-25 12:32:07 +03:00
Ali BARIN
ef14586412
test(user): write tests for getPlanAndUsage
2024-11-25 12:19:40 +03:00
Ali BARIN
a570b8eb7a
test(user): write tests for withinLimits
2024-11-22 15:31:19 +03:00
Ali BARIN
54fa347142
test(user): write tests for hasActiveSubscription
2024-11-22 15:21:10 +03:00
Ali BARIN
c14f808d29
test(user): write tests for inTrial
2024-11-22 15:10:13 +03:00
Ali BARIN
7ce6117659
test(user): write tests for isAllowedToRunFlows
2024-11-22 10:02:05 +03:00
Ali BARIN
741866e742
test(user): use luxon DateTime with zone over Date
2024-11-21 17:42:42 +03:00
Ali BARIN
41622678b0
test(user): write test for startTrialPeriod
2024-11-21 17:42:40 +03:00
Ali BARIN
6345ce5195
test(user): write tests for generateHash
2024-11-21 17:29:13 +03:00
Ali BARIN
b02c1545b7
test(user): use luxon DateTime with zone over Date
2024-11-21 17:15:00 +03:00
Ali BARIN
2deaab9b24
test(user): write tests for isInvitationTokenValid
2024-11-21 17:14:56 +03:00
Ali BARIN
bae76064e5
test(user): use luxon DateTime with zone over Date
2024-11-21 13:33:30 +00:00
Ali BARIN
07d9198cc8
test(user): write test for sendInvitationEmail
2024-11-21 13:31:41 +00:00
Ali BARIN
864c762fe2
test(user): use luxon DateTime with zone over Date
2024-11-21 12:49:33 +00:00
Ali BARIN
167bb4e8a0
test(user): write test cases for isResetPasswordTokenValid
2024-11-21 12:34:08 +00:00
Ali BARIN
bb309fea6f
test(user): write test for sendResetPasswordEmail
2024-11-21 14:47:18 +03:00
Ali BARIN
eb9226bd4a
test(user): write test for softRemove
2024-11-21 14:23:29 +03:00
Ali BARIN
d542be947e
Merge pull request #2186 from automatisch/test-saml-auth-provider
...
test: Implement tests for saml auth provider url methods
2024-11-15 14:45:46 +01:00
Ali BARIN
a0decb70cc
test(user): write tests for updatePassword
2024-11-13 19:22:04 +01:00
Faruk AYDIN
4867ffcb4b
test: Implement tests for saml auth provider url methods
2024-11-12 13:12:00 +01:00
Ali BARIN
c91b8be1a6
test(user): write test for acceptInvitation
2024-11-12 12:54:10 +01:00
Ali BARIN
8c01cea147
test(user): write test for resetPassword
2024-11-12 12:39:19 +01:00
Ali BARIN
bb05e82e15
test(user): write test for generateInvitationToken
2024-11-12 12:18:28 +01:00
Ali BARIN
a25c4f1d1e
test(user): write test for generateResetPasswordToken
2024-11-12 12:08:42 +01:00
Ali BARIN
49b4d6b511
test(user): write tests for login
2024-11-12 09:14:17 +00:00
Ali BARIN
de480b491c
test(user): write tests for authorizedExecutions
2024-11-11 18:06:59 +01:00
Ali BARIN
a949fda1fc
test(user): write tests for authorizedConnections
2024-11-11 18:06:59 +01:00
Ali BARIN
3e28af670c
test(user): write tests for authorizedSteps
2024-11-11 18:06:59 +01:00
Faruk AYDIN
b5310afb90
refactor: Use single quote for user can method error
2024-11-11 18:06:59 +01:00
Ali BARIN
da81ecf915
feat(user): add not authorized error message in permission check
2024-11-11 18:06:59 +01:00
Ali BARIN
f597066d16
test(user): write tests for authorizedFlows
2024-11-11 18:06:57 +01:00