Skip to content

Commit

Permalink
fix unit test w jwt creator
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie4k-code committed Dec 7, 2024
1 parent b200e52 commit 6dc86a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UserService/UserService.UnitTests/UserServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public class UserServiceTests

public UserServiceTests() {
var jwtSettings = Options.Create(new JwtSettings());
jwtSettings.Value.Key = "hweofhiowgerhioegwriohgewrhoieg8h329";
jwtSettings.Value.Issuer = "issuer";
this._userService = new AuthenticationService(_userRepositoryMock.Object, new JwtCreator(jwtSettings));
}

Expand Down

0 comments on commit 6dc86a6

Please sign in to comment.