Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually support PowerMock #335

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Actually support PowerMock #335

merged 1 commit into from
Aug 3, 2020

Conversation

jglick
Copy link
Member

@jglick jglick commented Aug 3, 2020

#331 was actually necessary in order to pick up mockito/mockito#1974 (see powermock/powermock#1055), so this needs a release; and there was also a dependency tree conflict with Hamcrest. Noticed from some of the test failures in jenkinsci/github-oauth-plugin#119.

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I greatly enjoy removing powermock tests, but sure let's fix it 😂

@jglick
Copy link
Member Author

jglick commented Aug 3, 2020

I greatly enjoy removing powermock tests

Same here. I do not endorse using mocks in Jenkins tests. However a lot of plugins do it, and having versions pinned in the parent POM reduces the maintenance burden.

@jglick jglick merged commit 3c7dc3e into jenkinsci:master Aug 3, 2020
@jglick jglick deleted the powermock branch August 3, 2020 14:59
jglick added a commit to jglick/github-oauth-plugin that referenced this pull request Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants