mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
7c0c953f81
Given that Spring Boot uses java config accross the board, a new `value` attribute is now aliased to the existing `classes` attribute such that one could write the following: @SpringApplicationConfiguration(MyConfig.class) public class MyTest {} Closes gh-3635
14 lines
191 B
Groovy
14 lines
191 B
Groovy
@SpringApplicationConfiguration(ReactorApplication)
|
|
@IntegrationTest('server.port:0')
|
|
class RestTests {
|
|
|
|
@Autowired
|
|
EventBus eventBus
|
|
|
|
@Test
|
|
void test() {
|
|
assertNotNull(eventBus)
|
|
}
|
|
|
|
}
|