-
Notifications
You must be signed in to change notification settings - Fork 36
Update verification-code entrypoint #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update verification-code entrypoint #534
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Can we also add e2e tests for this too?
- There is no usersignup
- There is a usersignup pending verification (I guess we already have this test)
- There is a usersingup which is deactivated
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #534 +/- ##
==========================================
- Coverage 81.11% 81.03% -0.09%
==========================================
Files 44 45 +1
Lines 3532 3554 +22
==========================================
+ Hits 2865 2880 +15
- Misses 580 587 +7
Partials 87 87
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@alexeykazakov it looks like the parallel e2e test suite runs without automatic approval and we approve "manually". See: https://github.com/codeready-toolchain/toolchain-e2e/blob/c63fa0f08e841d589abaef3e3268736766a466ea/test/e2e/parallel/registration_service_test.go#L719-L732 Thus unless we move the test elsewhere I'm not sure how we can test this in e2e. |
Yeah... since the approval strategy is a global configuration we can't turn it on and off just for specific tests (because we run tests in parallel). So let's skip this e2e test case then. It's not an easy task. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, mfrancisc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/retest updated e2e |
|
Modify the
/api/v1/signup/verification/activation-code
endpoint so that if usersignup does not exists it creates it.Jira: https://issues.redhat.com/browse/SANDBOX-1209
e2e tests: codeready-toolchain/toolchain-e2e#1158