Skip to content

Commit

Permalink
key needs to be longer here too
Browse files Browse the repository at this point in the history
  • Loading branch information
mgroves committed Nov 15, 2023
1 parent 77aa540 commit d3a1948
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class GetArticleHandlerTests : CouchbaseIntegrationTest
private AuthService _authService;
private UserDataService _userDataService;
private FollowsDataService _followDataService;
private Random _random;

public override async Task Setup()
{
Expand All @@ -36,14 +35,13 @@ public override async Task Setup()
{
Audience = "dummy-audience",
Issuer = "dummy-issuer",
SecurityKey = "dummy-securitykey"
SecurityKey = "dummy-securitykey-dummy-securitykey-dummy-securitykey-dummy-securitykey"
};
_authService = new AuthService(new OptionsWrapper<JwtSecrets>(jwtSecrets));
_articleDataService = new ArticlesDataService(_articleCollectionProvider, _favoriteCollectionProvider);
_followDataService = new FollowsDataService(_followsCollectionProvider);
_userDataService = new UserDataService(_usersCollectionProvider, _authService);
_handler = new GetArticleHandler(_articleDataService, _userDataService, _followDataService);
_random = new Random();
}

[Test]
Expand Down

0 comments on commit d3a1948

Please sign in to comment.