Annotate our test annotations with @ExtendWith(SpringExtension.class)

Closes gh-13739
This commit is contained in:
Andy Wilkinson
2018-07-11 17:25:21 +01:00
parent 889f1bce3f
commit 6a48a440b2
15 changed files with 59 additions and 11 deletions

View File

@@ -85,6 +85,11 @@
<artifactId>kotlin-reflect</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
@@ -187,11 +192,6 @@
<artifactId>spring-webmvc</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.nhaarman</groupId>
<artifactId>mockito-kotlin</artifactId>