mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 05:36:53 +00:00
Wire up stored account badges to the profile endpoints
This commit is contained in:
1 parent
bc887ec6fa
commit
fc1465c05d
5 files changed
+64
-26
No files matched your search
+3
-1
@@ -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