From 05585f3eb8df6552d779f29207141b2a75398e04 Mon Sep 17 00:00:00 2001 From: Maor Friedman Date: Sun, 13 Feb 2022 11:58:55 +0200 Subject: [PATCH] does this work? --- .../java/org/jenkinsci/plugins/ghprb/GhprbRepositoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/jenkinsci/plugins/ghprb/GhprbRepositoryTest.java b/src/test/java/org/jenkinsci/plugins/ghprb/GhprbRepositoryTest.java index 5b4eb4dc..809f3f59 100644 --- a/src/test/java/org/jenkinsci/plugins/ghprb/GhprbRepositoryTest.java +++ b/src/test/java/org/jenkinsci/plugins/ghprb/GhprbRepositoryTest.java @@ -238,7 +238,7 @@ public void testCheckMethodWithOnlyExistingPRs() throws Exception { verifyNoMoreInteractions(helper); verifyNoMoreInteractions(gt); - verify(ghUser, times(1)).getName(); + verify(ghUser, times(3)).getName(); verifyNoMoreInteractions(ghUser); verifyZeroInteractions(ghUser); }