Update zkgroups to 0.4.0
This commit is contained in:
parent
009f81a9a6
commit
3b1672a4a7
|
@ -41,7 +41,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.signal</groupId>
|
<groupId>org.signal</groupId>
|
||||||
<artifactId>zkgroup-java</artifactId>
|
<artifactId>zkgroup-java</artifactId>
|
||||||
<version>0.1</version>
|
<version>0.4.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -278,7 +278,7 @@ public class ProfileControllerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSetProfileWantAvatarUpload() throws InvalidInputException {
|
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()
|
ProfileAvatarUploadAttributes uploadAttributes = resources.getJerseyTest()
|
||||||
.target("/v1/profile/")
|
.target("/v1/profile/")
|
||||||
|
@ -301,7 +301,7 @@ public class ProfileControllerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSetProfileWantAvatarUploadWithBadProfileSize() throws InvalidInputException {
|
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()
|
Response response = resources.getJerseyTest()
|
||||||
.target("/v1/profile/")
|
.target("/v1/profile/")
|
||||||
|
@ -314,7 +314,7 @@ public class ProfileControllerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSetProfileWithoutAvatarUpload() throws InvalidInputException {
|
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()
|
Response response = resources.getJerseyTest()
|
||||||
.target("/v1/profile/")
|
.target("/v1/profile/")
|
||||||
|
@ -340,7 +340,7 @@ public class ProfileControllerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSetProvfileWithAvatarUploadAndPreviousAvatar() throws InvalidInputException {
|
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()
|
ProfileAvatarUploadAttributes uploadAttributes= resources.getJerseyTest()
|
||||||
.target("/v1/profile/")
|
.target("/v1/profile/")
|
||||||
|
|
Loading…
Reference in New Issue