Skip to content

Commit 45342dc

Browse files
Re-include CloseUnclosedStaticMocks in Mockito1to4Migration (#1019)
Disabled in d1e6bbb after teardown was injected in the wrong scope for @nested classes; #742 fixed nested-class and qualified-class-name handling. Re-enabling now that the underlying issue is resolved.
1 parent e1cb892 commit 45342dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/META-INF/rewrite/mockito.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ recipeList:
9292
artifactId: byte-buddy*
9393
newVersion: 1.12.19
9494
- org.openrewrite.java.testing.mockito.ReplaceInitMockToOpenMock
95-
# - org.openrewrite.java.testing.mockito.CloseUnclosedStaticMocks
95+
- org.openrewrite.java.testing.mockito.CloseUnclosedStaticMocks
9696
---
9797
type: specs.openrewrite.org/v1beta/recipe
9898
name: org.openrewrite.java.testing.mockito.Mockito1to3Migration

0 commit comments

Comments
 (0)