File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/test/java/org/jenkinsci/plugins/github_branch_source Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -919,10 +919,6 @@ public void testShouldRetrieveTagSCMHeadType() throws Exception {
919919 @ Issue ("JENKINS-65071" )
920920 public void testShouldRetrieveNullEvent () throws Exception {
921921 SCMHeadObserver mockSCMHeadObserver = Mockito .mock (SCMHeadObserver .class );
922- Mockito .when (mockSCMHeadObserver .getIncludes ())
923- .thenReturn (
924- Collections .singleton (new GitHubTagSCMHead ("non-existent-tag" , System .currentTimeMillis ())));
925-
926922 assertTrue (this .source .shouldRetrieve (mockSCMHeadObserver , null , GitHubTagSCMHead .class ));
927923 assertTrue (this .source .shouldRetrieve (mockSCMHeadObserver , null , PullRequestSCMHead .class ));
928924 assertTrue (this .source .shouldRetrieve (mockSCMHeadObserver , null , BranchSCMHead .class ));
You can’t perform that action at this time.
0 commit comments