Skip to content

Add Mock return and test correctly set ref in CommitStatusUpdaterTest#1068

Open
DieAkuteSense wants to merge 1 commit intojenkinsci:masterfrom
DieAkuteSense:1010_CommitStatusUpdaterTest
Open

Add Mock return and test correctly set ref in CommitStatusUpdaterTest#1068
DieAkuteSense wants to merge 1 commit intojenkinsci:masterfrom
DieAkuteSense:1010_CommitStatusUpdaterTest

Conversation

@DieAkuteSense
Copy link

Investigating a possible cause of #1010 I've noticed a missing mock return in CommitStatusUpdaterTest. Related to this, the tests verified that ref=null, which does not align with the given mock values for causeData, where the source branch is set to "feature". I've added the missing mock return statement and improved the tests to check for the correctly set ref="feature".

Unfortunately I have not found a cause for #1010 😞

IntelliJ modified the imports a lot...so the diff looks very confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant