Skip to content

Commit e3ecace

Browse files
committed
Resolved mismatch stubbings in CompareCoverageActionTest.java
1 parent 4effbb6 commit e3ecace

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/github/terma/jenkins/githubprcoveragestatus/CompareCoverageActionTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,7 @@ private void prepareEnvVars() {
208208
when(envVars.get(PrIdAndUrlUtils.GIT_PR_ID_ENV_PROPERTY)).thenReturn(prId);
209209
when(envVars.get(Utils.BUILD_URL_ENV_PROPERTY)).thenReturn(buildUrl);
210210
when(envVars.get(PrIdAndUrlUtils.GIT_URL_PROPERTY)).thenReturn(GIT_URL);
211+
when(envVars.get("CHANGE_ID")).thenReturn(null);
212+
when(envVars.get("CHANGE_URL")).thenReturn(null);
211213
}
212214
}

0 commit comments

Comments
 (0)