Add some unittests #3

Open
opened 8 months ago by lauri · 1 comments
lauri commented 8 months ago
Owner

Complexity is piling up so last time to add some tests.

Use MongoDB fixtures from https://git.k-space.ee/k-space/dev-mongo

Probably relevant to add more users https://git.k-space.ee/k-space/dev-mongo/issues/1

For user 1 set access.floor and user 2 with both access.floor and access.workshop set, verify that allowed UID hashes endpoint returns correct content depending on which door asks it

Complexity is piling up so last time to add some tests. Use MongoDB fixtures from https://git.k-space.ee/k-space/dev-mongo Probably relevant to add more users https://git.k-space.ee/k-space/dev-mongo/issues/1 For user 1 set `access.floor` and user 2 with both `access.floor` and `access.workshop` set, verify that allowed UID hashes endpoint returns correct content depending on which door asks it
lauri added a new dependency 8 months ago
lauri added a new dependency 8 months ago
Poster
Owner

No point doing this before major changes, see dependencies added here

No point doing this before major changes, see dependencies added here
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Depends on
#4 Door groups
k-space/doorboy-proxy
#2 Migrate to Websocket
k-space/doorboy-proxy
Loading…
There is no content yet.