From a6eddd44a24415cb28ea5654b79eebab82940d6e Mon Sep 17 00:00:00 2001 From: C4tWithShell Date: Wed, 25 Oct 2023 23:41:14 +0300 Subject: [PATCH] Fix ; --- .../sonarqube/plugin/ce/pullrequest/AnalysisDetailsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/github/mc1arke/sonarqube/plugin/ce/pullrequest/AnalysisDetailsTest.java b/src/test/java/com/github/mc1arke/sonarqube/plugin/ce/pullrequest/AnalysisDetailsTest.java index b629050..678007b 100644 --- a/src/test/java/com/github/mc1arke/sonarqube/plugin/ce/pullrequest/AnalysisDetailsTest.java +++ b/src/test/java/com/github/mc1arke/sonarqube/plugin/ce/pullrequest/AnalysisDetailsTest.java @@ -174,7 +174,7 @@ void shouldOnlyReturnQualityGateConditionsInErrorState() { QualityGate.Condition condition3 = mock(QualityGate.Condition.class); when(condition3.getStatus()).thenReturn(QualityGate.EvaluationStatus.NO_VALUE); QualityGate.Condition condition4 = mock(QualityGate.Condition.class); - when(condition4.getStatus()).thenReturn(QualityGate.EvaluationStatus.ERROR) + when(condition4.getStatus()).thenReturn(QualityGate.EvaluationStatus.ERROR); when(qualityGate.getConditions()).thenReturn(List.of(condition1, condition2, condition3, condition4));