packet icon indicating copy to clipboard operation
packet copied to clipboard

Actual Unit tests

Open devinmatte opened this issue 7 years ago • 1 comments

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

devinmatte avatar Jul 10 '19 15:07 devinmatte

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

mxmeinhold avatar Mar 27 '21 19:03 mxmeinhold