Skip to content

Commit

Permalink
Upgrade to Mockito 5 as part of PowerMockito migration
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Feb 19, 2024
1 parent 3f92d6a commit 7999511
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/rewrite/powermockito.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.testing.mockito.ReplacePowerMockito
displayName: Replace PowerMock with raw Mockito
description: Replace PowerMock with raw Mockito.
description: Upgrade to Mockito 5 and replace PowerMockito with raw Mockito.
tags:
- testing
- mockito
recipeList:
- org.openrewrite.java.testing.mockito.Mockito1to5Migration
- org.openrewrite.java.RemoveAnnotation:
annotationPattern: "@org.powermock.core.classloader.annotations.PowerMockIgnore"
- org.openrewrite.java.ChangeMethodTargetToStatic:
Expand Down

0 comments on commit 7999511

Please sign in to comment.