Simplify mockmvc security in tests following upstream changes

SecurityMockMvcConfigurer now honors filter order so we can use that instead
of manually adding the filter.
This commit is contained in:
Madhura Bhave
2019-08-16 10:51:57 -07:00
parent a785a5b58a
commit dab815af40
2 changed files with 10 additions and 6 deletions

View File

@@ -181,6 +181,11 @@
<artifactId>postgresql</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>