File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/org/openrewrite/java/spring/batch Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1616package org .openrewrite .java .spring .batch ;
1717
1818import org .junit .jupiter .api .Test ;
19+ import org .junit .jupiter .api .condition .DisabledIfEnvironmentVariable ;
1920import org .openrewrite .DocumentExample ;
2021import org .openrewrite .InMemoryExecutionContext ;
2122import org .openrewrite .java .JavaParser ;
2526
2627import static org .openrewrite .java .Assertions .java ;
2728
29+ @ DisabledIfEnvironmentVariable (named = "CI" , matches = "true" )
2830class MigrateJobBuilderFactoryTest implements RewriteTest {
2931
3032 @ Override
@@ -44,7 +46,6 @@ void replaceAutowiredJobBuilderFactory() {
4446 // language=java
4547 rewriteRun (
4648 spec -> spec .typeValidationOptions (TypeValidation .builder ()
47- .methodDeclarations (false )
4849 .identifiers (false )
4950 .build ()),
5051 java (
@@ -120,7 +121,6 @@ void replaceJobBuilderFactory() {
120121 // language=java
121122 rewriteRun (
122123 spec -> spec .typeValidationOptions (TypeValidation .builder ()
123- .methodDeclarations (false )
124124 .identifiers (false )
125125 .build ()),
126126 java (
@@ -166,7 +166,6 @@ void replaceJobBuilderFactoryInsideConstructor() {
166166 // language=java
167167 rewriteRun (
168168 spec -> spec .typeValidationOptions (TypeValidation .builder ()
169- .methodDeclarations (false )
170169 .identifiers (false )
171170 .build ()),
172171 java (
You can’t perform that action at this time.
0 commit comments