Skip to content
Permalink
Browse files

[JENKINS-43507] Fix tests with invalid nulls

  • Loading branch information...
stephenc committed Jun 19, 2017
1 parent 46d3cb5 commit 854aa02f61f11c5defdd129f03216df977a3505b
@@ -137,7 +137,7 @@ public void prepareMockGitHub() throws Exception {
get(urlMatching(".*")).atPriority(10).willReturn(aResponse().proxiedFrom("https://api.github.com/")));
githubRaw.stubFor(get(urlMatching(".*")).atPriority(10)
.willReturn(aResponse().proxiedFrom("https://raw.githubusercontent.com/")));
source = new GitHubSCMSource(null, "http://localhost:" + githubApi.port(), null, null, "cloudbeers", "yolo");
source = new GitHubSCMSource(null, "http://localhost:" + githubApi.port(), GitHubSCMSource.DescriptorImpl.SAME, null, "cloudbeers", "yolo");
}

@Test
@@ -129,7 +129,7 @@ public void prepareMockGitHub() throws Exception {
get(urlMatching(".*")).atPriority(10).willReturn(aResponse().proxiedFrom("https://api.github.com/")));
githubRaw.stubFor(get(urlMatching(".*")).atPriority(10)
.willReturn(aResponse().proxiedFrom("https://raw.githubusercontent.com/")));
source = new GitHubSCMSource(null, "http://localhost:" + githubApi.port(), null, null, "cloudbeers", "yolo");
source = new GitHubSCMSource(null, "http://localhost:" + githubApi.port(), GitHubSCMSource.DescriptorImpl.SAME, null, "cloudbeers", "yolo");
}

@Test

0 comments on commit 854aa02

Please sign in to comment.
You can’t perform that action at this time.