mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2026-09-16 18:12:54 +00:00
ACS-10505 fixing test cases
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Transform Core
|
||||
* %%
|
||||
* Copyright (C) 2022 - 2022 Alfresco Software Limited
|
||||
* Copyright (C) 2022 - 2026 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* -
|
||||
@@ -79,6 +79,7 @@ import ch.qos.logback.core.AppenderBase;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import org.codehaus.plexus.util.FileUtils;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
import org.mockito.stubbing.Answer;
|
||||
@@ -139,6 +140,12 @@ public class TransformControllerTest
|
||||
AbstractBaseTest.resetProbeForTesting(transformController.getProbeTransform());
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
void setUp()
|
||||
{
|
||||
ReflectionTestUtils.setField(transformController, "enableTestEndpoint", true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInitEngine() throws Exception
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user