Move and refactor Redis test server @Rule

Move the Redis JUnit @Rule so that it can be used with
SessionAutoConfigurationTests. Also refactored the internals a little.
This commit is contained in:
Phillip Webb
2015-07-13 11:52:42 -07:00
parent 9ebe15232e
commit fd6024ebf1
8 changed files with 166 additions and 163 deletions

View File

@@ -246,6 +246,11 @@
<artifactId>spring-context-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>