Wire up stored account badges to the profile endpoints

This commit is contained in:
Ehren Kret committed 2021-09-07 15:51:29 -05:00
1 parent bc887ec6fa
commit fc1465c05d
5 files changed
+64 -26

No files matched your search

@@ -90,11 +90,13 @@ class ProfileControllerTest {
ImmutableSet.of(AuthenticatedAccount.class, DisabledPermittedAuthenticatedAccount.class)))
.setMapper(SystemMapper.getMapper())
.setTestContainerFactory(new GrizzlyWebTestContainerFactory())
.addResource(new ProfileController(rateLimiters,
.addResource(new ProfileController(
rateLimiters,
accountsManager,
profilesManager,
usernamesManager,
dynamicConfigurationManager,
(request, accountBadges) -> Set.of(), // TODO: Test with some badges.
s3client,
postPolicyGenerator,
policySigner,