From d5c2a9da9c4305cc4adb3c72240073724015249a Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Mon, 27 Nov 2023 13:11:49 +0100 Subject: [PATCH] feat: signatures changed --- .../api/records/extent/MetadataExtentApiTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/services/src/test/java/org/fao/geonet/api/records/extent/MetadataExtentApiTest.java b/services/src/test/java/org/fao/geonet/api/records/extent/MetadataExtentApiTest.java index 11508b137f..965b306692 100644 --- a/services/src/test/java/org/fao/geonet/api/records/extent/MetadataExtentApiTest.java +++ b/services/src/test/java/org/fao/geonet/api/records/extent/MetadataExtentApiTest.java @@ -126,7 +126,7 @@ public void getOneRecordExtentAsImage() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName()); - assertEquals("0a2ea00341921f0c6e8b8997e3b87c14", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("e7de4f5705ceb5a6c35f0d85d1fb4cd", DigestUtils.md5DigestAsHex(reponseBuffer)); } @Test @@ -156,7 +156,7 @@ public void lastModifiedModified() throws Exception { .andExpect(content().contentType(API_PNG_EXPECTED_ENCODING)) .andReturn().getResponse().getContentAsByteArray(); - assertEquals("0a2ea00341921f0c6e8b8997e3b87c14", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("e7de4f5705ceb5a6c35f0d85d1fb4cd", DigestUtils.md5DigestAsHex(reponseBuffer)); } @Test @@ -173,7 +173,7 @@ public void aggregatedWithTwoExtent() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName()); - assertEquals("5808105ac9395326b81e9d036a6f3e81", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("b381a4e5bde396b92ba4d798980f30fb", DigestUtils.md5DigestAsHex(reponseBuffer)); } @Test @@ -198,7 +198,7 @@ public void twoExtentFirstOneWithBothBoundingBoxAndPolygon() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName() + "-1"); - assertEquals("b3e8eef2afbfc83c363119f6e8e613e2", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("aeab4dba0d59418fa8ec209cc6a4efa0", DigestUtils.md5DigestAsHex(reponseBuffer)); reponseBuffer = mockMvc.perform(get(String.format("/srv/api/records/%s/extents/2.png", uuid)) .session(mockHttpSession) @@ -244,7 +244,7 @@ public void threeExtentThirdOne() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName()); - assertEquals("0d28fdd025cb58cd50a5fa7c1f43995c", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("df9dc5ff0300a3891d6af9ce42c1847f", DigestUtils.md5DigestAsHex(reponseBuffer)); } @Test @@ -269,7 +269,7 @@ public void threeExtentThirdOne115_3() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName()); - assertEquals("d4d930688949095e2cd41996113a1455", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("649e43578b03e4ff74d8c0d8272da1a9", DigestUtils.md5DigestAsHex(reponseBuffer)); } @Test @@ -286,7 +286,7 @@ public void threeExtentThirdOneIsABoundingBox() throws Exception { .andReturn().getResponse().getContentAsByteArray(); saveImageToDiskIfConfiguredToDoSo(reponseBuffer, name.getMethodName()); - assertEquals("25812922c1f5f660d922e80a1ccc3689", DigestUtils.md5DigestAsHex(reponseBuffer)); + assertEquals("a5cd33942f207a48d230b636505318dc", DigestUtils.md5DigestAsHex(reponseBuffer)); } private String createTestData() throws Exception {