Skip to content

Commit

Permalink
feat: Updated src/integrationTest/java/com/yuriytk
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 16, 2023
1 parent 032be85 commit 56615e6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
@QuarkusTest
public class TrackServiceIT extends AwsLambdaIntegrationTestCommon {

Check warning on line 14 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L14

JUnit 5 tests should be package-private.

Check notice on line 14 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L14

The class name 'TrackServiceIT' doesn't match '^Test.*$|^[A-Z][a-zA-Z0-9]*Test(s|Case)?$'



@Test

Check notice on line 18 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L18

'method def modifier' has incorrect indentation level 4, expected level should be 2.
public void testProcessTrackCommand() {

Check warning on line 19 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L19

JUnit 5 tests should be package-private.
AwsProxyRequest request = createAwsProxyRequest(
final AwsProxyRequest request = createAwsProxyRequest(

Check notice on line 20 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L20

'method def' child has incorrect indentation level 8, expected level should be 4.
"/slack/cmd",
"POST",
Map.of(
Expand All @@ -24,7 +26,7 @@ public void testProcessTrackCommand() {
)
);

String response = RestAssured.given()
final String response = RestAssured.given()

Check notice on line 29 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L29

'method def' child has incorrect indentation level 8, expected level should be 4.
.contentType(MediaType.APPLICATION_JSON)
.body(request)
.when()
Expand All @@ -33,6 +35,7 @@ public void testProcessTrackCommand() {
.statusCode(200)
.extract()
.asString();


Assertions.assertNotNull(response);

Check notice on line 40 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L40

'method def' child has incorrect indentation level 8, expected level should be 4.
Assertions.assertTrue(response.contains("Tracked"));

Check notice on line 41 in src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/integrationTest/java/com/yuriytkach/tracker/fundraiser/service/TrackServiceIT.java#L41

'method def' child has incorrect indentation level 8, expected level should be 4.
Expand Down

0 comments on commit 56615e6

Please sign in to comment.