mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
Upgrade to Spring Boot 1.5.9.RELEASE
Closes gh-503
This commit is contained in:
parent
63becddb94
commit
d4d06ec22b
@ -20,10 +20,13 @@ import com.fasterxml.jackson.databind.JsonNode;
|
||||
import io.spring.initializr.web.AbstractFullStackInitializrIntegrationTests;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
|
||||
import static io.spring.initializr.web.AbstractInitializrIntegrationTests.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
|
||||
|
||||
/**
|
||||
* Tests for actuator specific features.
|
||||
@ -31,6 +34,8 @@ import static org.junit.Assert.assertTrue;
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@ActiveProfiles("test-default")
|
||||
@SpringBootTest(classes = Config.class, webEnvironment = RANDOM_PORT,
|
||||
properties = "management.security.enabled=false")
|
||||
public class ActuatorIntegrationTests
|
||||
extends AbstractFullStackInitializrIntegrationTests {
|
||||
|
||||
|
@ -23,6 +23,10 @@ logging:
|
||||
org.springframework.core.env: warn
|
||||
org.springframework.jndi: warn
|
||||
|
||||
management:
|
||||
security:
|
||||
enabled: false
|
||||
|
||||
server:
|
||||
compression:
|
||||
enabled: true
|
||||
|
Loading…
Reference in New Issue
Block a user