-
Notifications
You must be signed in to change notification settings - Fork 2
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
MLPAB-2018 Add scheduled events to remind certificate provider #1683
Conversation
bd173fd
to
bd9a2b1
Compare
bd9a2b1
to
4057f5e
Compare
4057f5e
to
41356b7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1683 +/- ##
==========================================
+ Coverage 94.88% 94.97% +0.08%
==========================================
Files 281 284 +3
Lines 15653 15910 +257
==========================================
+ Hits 14853 15110 +257
Misses 630 630
Partials 170 170
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
41356b7
to
dda3b49
Compare
dda3b49
to
76e9c4e
Compare
76e9c4e
to
c893fe6
Compare
122e78e
to
449caff
Compare
449caff
to
4304f0d
Compare
4304f0d
to
8d22577
Compare
8d22577
to
5538fe9
Compare
5538fe9
to
108aa0c
Compare
108aa0c
to
fd19741
Compare
fd19741
to
2285214
Compare
return fmt.Errorf("error sending sharecode to attorneys: %w", err) | ||
} | ||
|
||
if !certificateProvider.Tasks.ConfirmYourDetails.IsCompleted() { |
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.
Should this be:
if !certificateProvider.Tasks.ConfirmYourDetails.IsCompleted() { | |
if !certificateProvider.Tasks.ConfirmYourIdentity.IsCompleted() { |
2285214
to
407814a
Compare
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.
Because when the scheduled event should occur can change I'm going for the approach of setting multiple scheduled events, then checking if it is valid to run or should be ignored. This is safe as expiry can only go up (from 6 months to 24), so in that case we'd be ignoring the event at +3 months.