Skip to content

Commit

Permalink
Fix Test
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernhaeuser committed Feb 9, 2018
1 parent 956862f commit 4c0249d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 4c0249d

Please sign in to comment.