File tree 2 files changed +7
-7
lines changed
src/test/java/com/example/easynotes
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
<parent >
15
15
<groupId >org.springframework.boot</groupId >
16
16
<artifactId >spring-boot-starter-parent</artifactId >
17
- <version >2.2.1.RELEASE </version >
17
+ <version >2.5.5 </version >
18
18
<relativePath /> <!-- lookup parent from repository -->
19
19
</parent >
20
20
21
21
<properties >
22
22
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
23
23
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
24
- <java .version>1.8 </java .version>
24
+ <java .version>11 </java .version>
25
25
</properties >
26
26
27
27
<dependencies >
33
33
<groupId >org.springframework.boot</groupId >
34
34
<artifactId >spring-boot-starter-web</artifactId >
35
35
</dependency >
36
-
36
+ <dependency >
37
+ <groupId >org.springframework.boot</groupId >
38
+ <artifactId >spring-boot-starter-validation</artifactId >
39
+ </dependency >
37
40
<dependency >
38
41
<groupId >org.springframework.boot</groupId >
39
42
<artifactId >spring-boot-devtools</artifactId >
Original file line number Diff line number Diff line change 1
1
package com .example .easynotes ;
2
2
3
- import org .junit .Test ;
4
- import org .junit .runner .RunWith ;
3
+ import org .junit .jupiter .api .Test ;
5
4
import org .springframework .boot .test .context .SpringBootTest ;
6
- import org .springframework .test .context .junit4 .SpringRunner ;
7
5
8
- @ RunWith (SpringRunner .class )
9
6
@ SpringBootTest
10
7
public class EasyNotesApplicationTests {
11
8
You can’t perform that action at this time.
0 commit comments