Add test suite for authentication library #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Critical
This is a security-critical authentication library published on crates.io with zero test coverage. The README acknowledges this ("Run tests if there are any").
Minimum tests needed:
PassthroughModeDefdeserialization (valid "Block", valid "Pass", invalid "Foo")Settingsstruct deserialization from a sample JSON/YAMLbuild_keycloak_layerwith a mockAppContext