From 9dad1b57f7b114a50361b6cd358544628fceda9f Mon Sep 17 00:00:00 2001 From: Andy Kwok Date: Wed, 27 Nov 2024 14:21:44 -0800 Subject: [PATCH] Remove unused test-cases Signed-off-by: Andy Kwok --- .../action/IpEnrichmentTransportActionTests.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/test/java/org/opensearch/geospatial/ip2geo/action/IpEnrichmentTransportActionTests.java b/src/test/java/org/opensearch/geospatial/ip2geo/action/IpEnrichmentTransportActionTests.java index 641bd9c2..9605377b 100644 --- a/src/test/java/org/opensearch/geospatial/ip2geo/action/IpEnrichmentTransportActionTests.java +++ b/src/test/java/org/opensearch/geospatial/ip2geo/action/IpEnrichmentTransportActionTests.java @@ -53,17 +53,5 @@ public void testDoExecute_All_Succeed() { verify(listener, times(1)).onResponse(any(IpEnrichmentResponse.class)); } - - - /** - * No alternative dataSource, exception being thrown to indicate this. - */ - @Test - public void testDoExecute_WithNoAlternativeDataSource() { - IpEnrichmentRequest request = new IpEnrichmentRequest("192.168.1.1", null); - action.doExecute(task, request, listener); - - verify(listener, times(1)).onFailure(any(IllegalArgumentException.class)); - } }