We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b868a65 commit 4e6638dCopy full SHA for 4e6638d
src/test/kotlin/io/github/tobi/laa/spring/boot/embedded/redis/server/RedisConfFileTest.kt
@@ -7,6 +7,8 @@ import org.junit.jupiter.api.Order
7
import org.junit.jupiter.api.Test
8
import org.springframework.beans.factory.annotation.Autowired
9
10
+private const val TEST_PORT = 10003
11
+
12
@IntegrationTest
13
@EmbeddedRedisServer(
14
port = 10003,
@@ -27,7 +29,7 @@ internal class RedisConfFileTest {
27
29
.then().redisProperties()
28
30
.shouldBeStandalone().and()
31
.shouldHaveHost("localhost").and()
- .shouldHavePort(12345)
32
+ .shouldHavePort(TEST_PORT)
33
}
34
35
@Test
0 commit comments