Skip to content

DP-495: TossPaymentsClient 테스트 추가 — WebClient mock 6케이스

ac657a8
Select commit
Loading
Failed to load commit list.
Merged

[DP-495] Free/Pro/Max 구독 플랜 구현 #173

DP-495: TossPaymentsClient 테스트 추가 — WebClient mock 6케이스
ac657a8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 21, 2026 in 51s

Annotations

Check warning on line 100 in src/main/java/com/devpick/domain/subscription/client/TossPaymentsClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'HttpStatusCode::isError'.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KIExL26P4aWb_hO89&open=AZ5KIExL26P4aWb_hO89&pullRequest=173

Check warning on line 41 in src/main/java/com/devpick/domain/subscription/client/TossPaymentsClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'HttpStatusCode::isError'.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KIExL26P4aWb_hO87&open=AZ5KIExL26P4aWb_hO87&pullRequest=173

Check warning on line 248 in src/test/java/com/devpick/domain/subscription/service/SubscriptionServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KLbl1I82vdqdVEHAX&open=AZ5KLbl1I82vdqdVEHAX&pullRequest=173

Check warning on line 49 in src/test/java/com/devpick/domain/job/service/JobInterviewServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KP1JF-wT9PpIGJLxt&open=AZ5KP1JF-wT9PpIGJLxt&pullRequest=173

Check failure on line 118 in src/test/java/com/devpick/domain/subscription/client/TossPaymentsClientTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KSMv2DK7bdrnOrNA0&open=AZ5KSMv2DK7bdrnOrNA0&pullRequest=173

Check warning on line 92 in src/main/java/com/devpick/domain/subscription/service/PlanLimitService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Iterate over the "entrySet" instead of the "keySet".

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KIEuC26P4aWb_hO86&open=AZ5KIEuC26P4aWb_hO86&pullRequest=173

Check warning on line 73 in src/main/java/com/devpick/domain/subscription/client/TossPaymentsClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'HttpStatusCode::isError'.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KIExL26P4aWb_hO88&open=AZ5KIExL26P4aWb_hO88&pullRequest=173

Check warning on line 36 in src/test/java/com/devpick/domain/subscription/controller/SubscriptionControllerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.mockito.Mockito.doThrow'.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KLbojI82vdqdVEHAY&open=AZ5KLbojI82vdqdVEHAY&pullRequest=173

Check warning on line 239 in src/test/java/com/devpick/domain/subscription/service/SubscriptionServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KLbl1I82vdqdVEHAW&open=AZ5KLbl1I82vdqdVEHAW&pullRequest=173

Check warning on line 285 in src/test/java/com/devpick/domain/job/service/MockInterviewServiceTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=Devpick-Org_devpick-backend&issues=AZ5KP1F4-wT9PpIGJLxs&open=AZ5KP1F4-wT9PpIGJLxs&pullRequest=173