Skip to content

Commit 4e6638d

Browse files
committed
Tests
1 parent b868a65 commit 4e6638d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/kotlin/io/github/tobi/laa/spring/boot/embedded/redis/server/RedisConfFileTest.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import org.junit.jupiter.api.Order
77
import org.junit.jupiter.api.Test
88
import org.springframework.beans.factory.annotation.Autowired
99

10+
private const val TEST_PORT = 10003
11+
1012
@IntegrationTest
1113
@EmbeddedRedisServer(
1214
port = 10003,
@@ -27,7 +29,7 @@ internal class RedisConfFileTest {
2729
.then().redisProperties()
2830
.shouldBeStandalone().and()
2931
.shouldHaveHost("localhost").and()
30-
.shouldHavePort(12345)
32+
.shouldHavePort(TEST_PORT)
3133
}
3234

3335
@Test

0 commit comments

Comments
 (0)