Skip to content

Commit

Permalink
Work around test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Feb 27, 2025
1 parent b03bf09 commit fb0cb94
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import org.junit.jupiter.api.Test;
import org.openrewrite.DocumentExample;
import org.openrewrite.InMemoryExecutionContext;
import org.openrewrite.java.JavaParser;
import org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity;
import org.openrewrite.test.RecipeSpec;
Expand All @@ -32,8 +31,11 @@ public void defaults(RecipeSpec spec) {
spec.recipe(new UpdateEnableReactiveMethodSecurity())
.parser(JavaParser.fromJavaVersion()
.logCompilationWarningsAndErrors(true)
.classpathFromResources(new InMemoryExecutionContext(), "spring-security-web-5.8.+",
"spring-security-config-5.8.+"));
.classpath("spring-security-web",
"spring-security-config"));
// Some kind of problem with type tables prevents this from working right now
// .classpathFromResources(new InMemoryExecutionContext(), "spring-security-web-5.8.+",
// "spring-security-config-5.8.+"));
}

@DocumentExample
Expand Down

0 comments on commit fb0cb94

Please # to comment.