mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 06:18:04 +01:00
Wire up stored account badges to the profile endpoints
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user