#204 - Upgraded to Spring Boot 1.4 GA.
This commit is contained in:
@@ -16,13 +16,10 @@
|
||||
package example.springdata.jpa.java8;
|
||||
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.orm.jpa.EntityScan;
|
||||
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
@EnableAsync
|
||||
@SpringBootApplication
|
||||
@EntityScan(basePackageClasses = { AuditingConfiguration.class, Jsr310JpaConverters.class })
|
||||
@EnableJpaAuditing
|
||||
class AuditingConfiguration {}
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>1.4.0.RC1</version>
|
||||
<version>1.4.0.RELEASE</version>
|
||||
</parent>
|
||||
|
||||
<modules>
|
||||
|
||||
@@ -23,6 +23,7 @@ import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
|
||||
import org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
@@ -36,7 +37,7 @@ import org.springframework.test.web.servlet.ResultActions;
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
@AutoConfigureMockMvc(alwaysPrint = false)
|
||||
@AutoConfigureMockMvc(print = MockMvcPrint.NONE)
|
||||
public class UserControllerIntegrationTests {
|
||||
|
||||
@Autowired MockMvc mvc;
|
||||
|
||||
Reference in New Issue
Block a user