From 4c0249dacc5c8bc24993d78236d99ed2d43d6daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20H=C3=A4user?= Date: Fri, 9 Feb 2018 08:10:48 +0100 Subject: [PATCH] Fix Test --- .../ghprb/extensions/status/GhprbSimpleStatusTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatusTest.java b/src/test/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatusTest.java index 076b4549e..dd557246e 100644 --- a/src/test/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatusTest.java +++ b/src/test/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatusTest.java @@ -14,14 +14,14 @@ import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; +import java.util.ArrayList; + import static org.mockito.BDDMockito.given; import static org.mockito.Matchers.eq; import static org.mockito.Matchers.isNull; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; - -import java.util.ArrayList; // Needed for testing commit context /* import hudson.Extension; @@ -149,7 +149,7 @@ public boolean addIfMissing() { @Test public void testUseDefaultContext() throws Exception { - String mergedMessage = "Build triggered. sha1 is original commit."; + String mergedMessage = "Build triggered for original commit."; String statusUrl = "http://someserver.com"; String context = "testing context"; given(ghprbPullRequest.getHead()).willReturn("sha");