File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/test/java/com/example/postgresdemo Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1414 <parent >
1515 <groupId >org.springframework.boot</groupId >
1616 <artifactId >spring-boot-starter-parent</artifactId >
17- <version >2.2.1.RELEASE </version >
17+ <version >2.5.5 </version >
1818 <relativePath /> <!-- lookup parent from repository -->
1919 </parent >
2020
2121 <properties >
2222 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2323 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
24- <java .version>1.8 </java .version>
24+ <java .version>11 </java .version>
2525 </properties >
2626
2727 <dependencies >
3333 <groupId >org.springframework.boot</groupId >
3434 <artifactId >spring-boot-starter-web</artifactId >
3535 </dependency >
36-
36+ <dependency >
37+ <groupId >org.springframework.boot</groupId >
38+ <artifactId >spring-boot-starter-validation</artifactId >
39+ </dependency >
3740 <dependency >
3841 <groupId >org.postgresql</groupId >
3942 <artifactId >postgresql</artifactId >
Original file line number Diff line number Diff line change 11package com .example .postgresdemo ;
22
3- import org .junit .Test ;
4- import org .junit .runner .RunWith ;
3+ import org .junit .jupiter .api .Test ;
54import org .springframework .boot .test .context .SpringBootTest ;
6- import org .springframework .test .context .junit4 .SpringRunner ;
75
8- @ RunWith (SpringRunner .class )
96@ SpringBootTest
107public class PostgresDemoApplicationTests {
118
You can’t perform that action at this time.
0 commit comments