Added api key documentation + fixed tests

This commit is contained in:
2024-12-21 17:13:18 +01:00
parent 59c452ff73
commit e47d4917df
6 changed files with 36 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ public class AuthenticationTests {
.ReturnsAsync(correctToken);
perms
.Setup(x => x.GetFullPermissions(It.IsAny<User>()))
.Setup(x => x.GetFullPermissions(It.IsAny<Token>()))
.ReturnsAsync(new List<string>());
var auth = new HopFrameAuthentication(options.Object, logger.Object, encoder.Object, clock.Object, tokens.Object, perms.Object, new OptionsWrapper<HopFrameAuthenticationOptions>(new HopFrameAuthenticationOptions()));