-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix: unit tests for db module #3553
Conversation
QA Summary
Test CoverageCoverage report for `packages/client`
Coverage report for `packages/server`
|
Terraform Summary
Hint: If "Terraform Format & Style" failed, run OutputValidation Output
Plan Summary
Pusher: @greg-adams, Action: |
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.
This is fantastic – thanks for putting it together!
One small tweak for you to look at, but otherwise looks great.
@@ -35,7 +35,7 @@ const agencies = { | |||
abbreviation: 'Sub SBA', | |||
code: 'SSBA', | |||
name: 'State Board of Sub Accountancy', | |||
parent: 0, | |||
parent: tenants.SBA.id, |
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.
Doesn't look like it would cause issues for now, but given that agencies.parent
is a reference to agencies.id
(not tenants.id
), this might result in a hard-to-spot error down the road.
I'd suggest either reverting this change or breaking it out of the const agencies
definition so that it can be set to agencies.accountancy.id
.
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.
good catch - I've updated/replaced the old ID and fixed another test issue.
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.
@greg-adams Looks great!
Ticket #
Description
Screenshots / Demo Video
Testing
Automated and Unit Tests
Manual tests for Reviewer
Checklist