Standardize KT response field name to serializedResponse

This commit is contained in:
Katherine Yen
2024-11-04 17:01:11 -05:00
committed by Jon Chambers
parent 45fad7a6a9
commit bbb6d448db
3 changed files with 5 additions and 5 deletions

View File

@@ -325,7 +325,7 @@ public class KeyTransparencyControllerTest {
final KeyTransparencyMonitorResponse keyTransparencyMonitorResponse = response.readEntity(
KeyTransparencyMonitorResponse.class);
assertNotNull(keyTransparencyMonitorResponse.monitorResponse());
assertNotNull(keyTransparencyMonitorResponse.serializedResponse());
verify(keyTransparencyServiceClient, times(1)).monitor(
any(), eq(3L), eq(4L), eq(KeyTransparencyController.KEY_TRANSPARENCY_RPC_TIMEOUT));
@@ -543,7 +543,7 @@ public class KeyTransparencyControllerTest {
final KeyTransparencyDistinguishedKeyResponse distinguishedKeyResponse = response.readEntity(
KeyTransparencyDistinguishedKeyResponse.class);
assertNotNull(distinguishedKeyResponse.distinguishedKeyResponse());
assertNotNull(distinguishedKeyResponse.serializedResponse());
verify(keyTransparencyServiceClient, times(1))
.getDistinguishedKey(eq(Optional.ofNullable(lastTreeHeadSize)),