diff --git a/service/pom.xml b/service/pom.xml index efd720a3c..4ab11b74c 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -41,7 +41,7 @@ org.signal zkgroup-java - 0.1 + 0.4.0 diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java index cad13abf4..eac17a895 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java @@ -278,7 +278,7 @@ public class ProfileControllerTest { @Test public void testSetProfileWantAvatarUpload() throws InvalidInputException { - ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(); + ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(AuthHelper.VALID_UUID); ProfileAvatarUploadAttributes uploadAttributes = resources.getJerseyTest() .target("/v1/profile/") @@ -301,7 +301,7 @@ public class ProfileControllerTest { @Test public void testSetProfileWantAvatarUploadWithBadProfileSize() throws InvalidInputException { - ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(); + ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(AuthHelper.VALID_UUID); Response response = resources.getJerseyTest() .target("/v1/profile/") @@ -314,7 +314,7 @@ public class ProfileControllerTest { @Test public void testSetProfileWithoutAvatarUpload() throws InvalidInputException { - ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(); + ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(AuthHelper.VALID_UUID); Response response = resources.getJerseyTest() .target("/v1/profile/") @@ -340,7 +340,7 @@ public class ProfileControllerTest { @Test public void testSetProvfileWithAvatarUploadAndPreviousAvatar() throws InvalidInputException { - ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(); + ProfileKeyCommitment commitment = new ProfileKey(new byte[32]).getCommitment(AuthHelper.VALID_UUID_TWO); ProfileAvatarUploadAttributes uploadAttributes= resources.getJerseyTest() .target("/v1/profile/")