From 00c954d065b04db5d430b638c02cf2a92abb3dd3 Mon Sep 17 00:00:00 2001 From: jamal-khey Date: Mon, 5 Aug 2024 16:19:40 +0200 Subject: [PATCH] Revert "check styles" This reverts commit 99d9dbd9b64d9991e15094141a0765fa1880b87e. --- src/test/java/com/powsybl/caseserver/CaseControllerTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/powsybl/caseserver/CaseControllerTest.java b/src/test/java/com/powsybl/caseserver/CaseControllerTest.java index 6f2c5df..dafbb16 100644 --- a/src/test/java/com/powsybl/caseserver/CaseControllerTest.java +++ b/src/test/java/com/powsybl/caseserver/CaseControllerTest.java @@ -477,15 +477,14 @@ public void searchCaseTest() throws Exception { .andExpect(status().isOk()) .andReturn().getResponse().getContentAsString(); - UUID aCaseUuid; -// = UUID.fromString(aCase.substring(1, aCase.length() - 1)); + UUID aCaseUuid = UUID.fromString(aCase.substring(1, aCase.length() - 1)); // assert that broker message has been sent and properties are the right ones Message messageImport = outputDestination.receive(1000, "case.import.destination"); assertEquals("", new String(messageImport.getPayload())); MessageHeaders headersCase = messageImport.getHeaders(); assertEquals("testCase.xiidm", headersCase.get(CaseInfos.NAME_HEADER_KEY)); -// assertEquals(aCaseUuid, headersCase.get(CaseInfos.UUID_HEADER_KEY)); + assertEquals(aCaseUuid, headersCase.get(CaseInfos.UUID_HEADER_KEY)); assertEquals("XIIDM", headersCase.get(CaseInfos.FORMAT_HEADER_KEY)); // import CGMES french file