From 56615e6b8dcc1372dd5d1cb8170817bd7644c85e Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 16 Dec 2023 17:09:10 +0000 Subject: [PATCH] feat: Updated src/integrationTest/java/com/yuriytk --- .../tracker/fundraiser/service/TrackServiceIT.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java b/src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java index a0d7be1..d539dc9 100644 --- a/src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java +++ b/src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java @@ -13,9 +13,11 @@ @QuarkusTest public class TrackServiceIT extends AwsLambdaIntegrationTestCommon { + + @Test public void testProcessTrackCommand() { - AwsProxyRequest request = createAwsProxyRequest( + final AwsProxyRequest request = createAwsProxyRequest( "/slack/cmd", "POST", Map.of( @@ -24,7 +26,7 @@ public void testProcessTrackCommand() { ) ); - String response = RestAssured.given() + final String response = RestAssured.given() .contentType(MediaType.APPLICATION_JSON) .body(request) .when() @@ -33,6 +35,7 @@ public void testProcessTrackCommand() { .statusCode(200) .extract() .asString(); + Assertions.assertNotNull(response); Assertions.assertTrue(response.contains("Tracked"));