upgrade boot parent (#3352)

* make sure modules using java8

* move url matching code

* upgrade boot parent

* minor cleanup
This commit is contained in:
Doha2012
2018-01-05 21:56:21 +02:00
committed by Grzegorz Piwowarek
parent 1273bb4aee
commit fe0e0ba115
67 changed files with 175 additions and 258 deletions

View File

@@ -1,8 +1,10 @@
package com.baeldung;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationContextLoader;
import org.springframework.http.HttpMethod;
import org.springframework.http.client.ClientHttpResponse;
import org.springframework.test.context.ContextConfiguration;
@@ -10,14 +12,9 @@ import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.web.client.ResponseErrorHandler;
import org.springframework.web.client.RestTemplate;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
//@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = SpringDemoApplication.class, loader = SpringApplicationContextLoader.class)
@ContextConfiguration(classes = SpringDemoApplication.class)
@WebAppConfiguration
@IntegrationTest
public class SpringIntegrationTest {
static ResponseResults latestResponse = null;