Skip to content

Commit fb0cb94

Browse files
committed
Work around test failure
1 parent b03bf09 commit fb0cb94

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/testWithSpringSecurity_5_8/java/org/openrewrite/spring/security5/UpdateEnableReactiveMethodSecurityTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import org.junit.jupiter.api.Test;
1919
import org.openrewrite.DocumentExample;
20-
import org.openrewrite.InMemoryExecutionContext;
2120
import org.openrewrite.java.JavaParser;
2221
import org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity;
2322
import org.openrewrite.test.RecipeSpec;
@@ -32,8 +31,11 @@ public void defaults(RecipeSpec spec) {
3231
spec.recipe(new UpdateEnableReactiveMethodSecurity())
3332
.parser(JavaParser.fromJavaVersion()
3433
.logCompilationWarningsAndErrors(true)
35-
.classpathFromResources(new InMemoryExecutionContext(), "spring-security-web-5.8.+",
36-
"spring-security-config-5.8.+"));
34+
.classpath("spring-security-web",
35+
"spring-security-config"));
36+
// Some kind of problem with type tables prevents this from working right now
37+
// .classpathFromResources(new InMemoryExecutionContext(), "spring-security-web-5.8.+",
38+
// "spring-security-config-5.8.+"));
3739
}
3840

3941
@DocumentExample

0 commit comments

Comments
 (0)