-
Notifications
You must be signed in to change notification settings - Fork 324
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
[chore] Port 2FA tests #3986
[chore] Port 2FA tests #3986
Conversation
473acb9
to
681a7d4
Compare
generateVerificationCode owner email | ||
code <- getVerificationCode owner "login" >>= getJSON 200 >>= asString | ||
bindResponse (loginWith2ndFactor owner email defPassword code) $ \resp -> do | ||
resp.status `shouldMatchInt` 200 |
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.
in the old test, we were checking the json content as well, i think that was useful.
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.
Can't find it, can you point me to it?
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.
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.
sorry, i was reading it wrong. all good!
6bff9e0
to
53efc14
Compare
Checklist
changelog.d