packet
packet copied to clipboard
Actual Unit tests
Lord how annoying it is to write tests, but this application and it's importance requires some basic unit tests. We should have edge cases tested against.
- Underclassman tries to sign as upperclassman
- Off Floor Underclassman tries to sign packet
We will also need some kind of mocking database system to create the logic for this
We have ldap mocked, and we can spin up a test db in ci. I think the only blocker is sso. Maybe we could add an argument to before_request to use a local moc? This would also be a solution for #233