-
Notifications
You must be signed in to change notification settings - Fork 18
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: 3 bugs in the provisioning tool #369
Conversation
* @param {String} enterpriseUUID | ||
* @param {String} startDate | ||
* @param {String} endDate | ||
* @param {Number} startingBalance - The initial balance of the new subsidy in USD Cents (integer). |
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.
Our component-level tests don't cover testing this layer, so they don't assert what's really being sent in the POST request. The least I can do is document the expected parameters.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #369 +/- ##
==========================================
- Coverage 88.09% 88.02% -0.08%
==========================================
Files 161 159 -2
Lines 3361 3349 -12
Branches 825 826 +1
==========================================
- Hits 2961 2948 -13
- Misses 396 397 +1
Partials 4 4 ☔ View full report in Codecov by Sentry. |
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. I would just double check the price validation in stage for the startingBalance
on the subsidy. 👍🏽 Great job.
da68aee
to
76bc033
Compare
FYI @brobro10000 I did just push one more commit to fix the new "policy type" field component to be supported in the edit view. It was pretty straightforward and mostly copy+pasting from another component to add that support. |
4b0f9aa
to
c5788f2
Compare
1. We no longer double-multiply the subsidy balance by 100, leading to a higher subsidy starting balance than intended. 2. catalogUuid no longer is interpreted as invalid when a predefined query is selected. 3. On the edit view, the budget header now correctly reflects the catalog selection. ENT-7922
c5788f2
to
52b4d75
Compare
Also added a commit to display the policy type in the edit view (readonly). FYI @katrinan029 |
ENT-7922