agdsn / hades

AG DSN Authentication and Authorization Infrastructure
MIT License
8 stars 3 forks source link

Extend dhcp-script tests to `unauth` case #111

Closed lukasjuhrich closed 1 year ago

lukasjuhrich commented 2 years ago

there are bats tests under tests/test-dhcp-script.bats which use hades-dhcp-script and the auth_dhcp_leases table. These tests should also run against the unauth_dhcp_leases table.

This will require some refactoring and knowledge about how to write idiomatic bats tests.

lukasjuhrich commented 1 year ago

Sufficiently fixed in c5b1330303b055eee9a4bea79c052ff563fd9a49, don't see a need to extend the unauth test suite further, as it touches the same code.