-
Notifications
You must be signed in to change notification settings - Fork 7
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: add server tests for dryrun query parameter #112
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.
Looks good
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.
lgtm, just left a few comments
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.
Is it possible that these tests are not idempotent? I'm running the test multiple times, and it fails the second time.
1) Server
session api verification
should not store the successful verification result when the query parameter dryrun=true is provided:
Contract should not have been saved
@acuarica I do not see this issue when running the test several times (I do that interactively within IntelliJ). |
…rtions.js. Signed-off-by: Simon Viénot <[email protected]>
Signed-off-by: Simon Viénot <[email protected]>
Signed-off-by: Simon Viénot <[email protected]>
…clause. Signed-off-by: Simon Viénot <[email protected]>
643d5b8
to
2c3606b
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.
lg
Description:
Add tests for the
dryrun
query parameter recently added to the/session/input-files
and/session/verify-checked
API endpoints.Related issue(s):
Fixes #93