mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Fix build
This commit is contained in:
@@ -161,6 +161,7 @@ public class TransformControllerAllInOneTest
|
|||||||
@Test
|
@Test
|
||||||
public void testReadyEndpointReturnsSuccessful() throws Exception
|
public void testReadyEndpointReturnsSuccessful() throws Exception
|
||||||
{
|
{
|
||||||
|
transformController.probeTransform.resetForTesting();
|
||||||
mockMvc.perform(MockMvcRequestBuilders.get(ENDPOINT_READY))
|
mockMvc.perform(MockMvcRequestBuilders.get(ENDPOINT_READY))
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(containsString("Success - ")));
|
.andExpect(content().string(containsString("Success - ")));
|
||||||
@@ -169,6 +170,7 @@ public class TransformControllerAllInOneTest
|
|||||||
@Test
|
@Test
|
||||||
public void testLiveEndpointReturnsSuccessful() throws Exception
|
public void testLiveEndpointReturnsSuccessful() throws Exception
|
||||||
{
|
{
|
||||||
|
transformController.probeTransform.resetForTesting();
|
||||||
mockMvc.perform(MockMvcRequestBuilders.get(ENDPOINT_LIVE))
|
mockMvc.perform(MockMvcRequestBuilders.get(ENDPOINT_LIVE))
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(containsString("Success - ")));
|
.andExpect(content().string(containsString("Success - ")));
|
||||||
|
Reference in New Issue
Block a user