From 0992a4c1f97e731847beef995a2952b60ae3239d Mon Sep 17 00:00:00 2001 From: Shubhra Date: Tue, 11 Feb 2020 10:46:23 +0530 Subject: [PATCH] BAEL-3298 Updating names of testcases --- .../org/baeldung/batch/SpringBatchRetryIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java b/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java index 049f6a756f..293c97ac5d 100644 --- a/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java +++ b/spring-batch/src/test/java/org/baeldung/batch/SpringBatchRetryIntegrationTest.java @@ -47,7 +47,7 @@ public class SpringBatchRetryIntegrationTest { private CloseableHttpResponse httpResponse; @Test - public void whenEndpointAlwaysFailing_thenJobFails() throws Exception { + public void whenEndpointAlwaysFail_thenJobFails() throws Exception { when(closeableHttpClient.execute(any())) .thenThrow(new ConnectTimeoutException("Endpoint is down")); @@ -61,7 +61,7 @@ public class SpringBatchRetryIntegrationTest { } @Test - public void whenEndpointFailsTwiceAndPassesThirdTime_thenSuccess() throws Exception { + public void whenEndpointFailsTwicePasses3rdTime_thenSuccess() throws Exception { FileSystemResource expectedResult = new FileSystemResource(EXPECTED_OUTPUT); FileSystemResource actualResult = new FileSystemResource(TEST_OUTPUT);