From 3e95ac3ba5ceac7d046b92a1ee2a01cd2be2bb05 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 15 Nov 2024 13:41:40 +0100 Subject: [PATCH] fix: Make Adaptations on Unit Tests switch Social API Change - MEED-7814 - Meeds-io/MIPs#160 This change ensures to mock the space using a Long id instead of text. --- .../java/org/exoplatform/processes/rest/EntityBuilderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processes-services/src/test/java/org/exoplatform/processes/rest/EntityBuilderTest.java b/processes-services/src/test/java/org/exoplatform/processes/rest/EntityBuilderTest.java index 7968deb56..b72abd2e6 100644 --- a/processes-services/src/test/java/org/exoplatform/processes/rest/EntityBuilderTest.java +++ b/processes-services/src/test/java/org/exoplatform/processes/rest/EntityBuilderTest.java @@ -82,7 +82,7 @@ public void toRestEntities() throws Exception { StatusService statusService = mock(StatusService.class); List workFlows = new ArrayList<>(); Space space = new Space(); - space.setId("test"); + space.setId("12"); space.setPrettyName("test"); space.setDisplayName("test"); WorkFlow workFlow = new WorkFlow();