You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Thanks for contributing to Peacock! Here's a bit of a template to
help make sure everything relevant is covered. -->
## Scope
<!-- List any relevant changes you have made here. Be sure to link any
issues fixed, or that are relevant to these changes. -->
Two big changes here:
1. inventory is a class now, so the stateful parts are not stored on a
module level
2. controller instance can be overridden for tests, so that code which
hasn't yet been migrated to the IoC model can use the intended
controller instance.
## Test Plan
<!-- List how you have verified these changes work as intended. -->
- Start the server, verify that logging in still works
## Checklist
<!--
Once you create the PR, the checklist will be added below this comment
automatically (based on what files you've changed).
It's just a few reminders to make sure everything is perfect. You can
place an "X" in the boxes to tick them off.
When you have completed the checklist, press the "Ready for review"
button.
-->
--------
#### General
- [x] I've run Prettier to format any changed files
- [x] I've verified that my changes work, and included a test plan
--------
#### Testing
- [x] I have added or considered adding unit/integration tests that
cover any code changes
0 commit comments