-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix:Temporarily disable Discount code POST test to fix build #4854
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
Conversation
Codecov Report
@@ Coverage Diff @@
## development #4854 +/- ##
=============================================
Coverage ? 65.2%
=============================================
Files ? 213
Lines ? 9848
Branches ? 0
=============================================
Hits ? 6421
Misses ? 3427
Partials ? 0Continue to review full report at Codecov.
|
|
@niranjan94 @SaptakS @iamareebjamal Please review and merge. |
Kreijstal
left a comment
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.
Why didn't you just comment it out?
|
@Kreijstal Yeah, didn't think of it. Thanks for adding it. |
| event = EventFactoryBasic() | ||
| db.session.add(event) | ||
| db.session.commit() | ||
| transaction['skip'] = True |
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.
Add a TODO comment so it it searchable in future
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.
done.
schedutron
left a comment
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.
Seems good for now.
| event = EventFactoryBasic() | ||
| db.session.add(event) | ||
| db.session.commit() | ||
| transaction['skip'] = True |
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.
What does transaction['skip'] = True do?
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.
skips the test
Fixes #4853
Checklist
developmentbranch.Short description of what this resolves:
currently the build is failing due to an unknown error arising due to the discount code post request.
Changes proposed in this pull request:
For now, skipping the test untill we figure out the problem so that it doesn't hamper the progress of the project.