Commit ae4b8dc4 authored by Andy Wilkinson's avatar Andy Wilkinson

Ensure that CLI-based tests automatically import new TestRestTemplate

See gh-6973
parent 307fd94b
...@@ -69,6 +69,7 @@ public class SpringTestCompilerAutoConfiguration extends CompilerAutoConfigurati ...@@ -69,6 +69,7 @@ public class SpringTestCompilerAutoConfiguration extends CompilerAutoConfigurati
"org.springframework.boot.test.web.client", "org.springframework.http", "org.springframework.boot.test.web.client", "org.springframework.http",
"org.springframework.test.context.junit4", "org.springframework.test.context.junit4",
"org.springframework.test.annotation").addImports( "org.springframework.test.annotation").addImports(
"org.springframework.boot.test.context.SpringBootTest.WebEnvironment"); "org.springframework.boot.test.context.SpringBootTest.WebEnvironment",
"org.springframework.boot.test.web.client.TestRestTemplate");
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment