Skip to content

Commit 95b56e4

Browse files
committed
Merge remote-tracking branch 'origin/dependabot/gradle/modules/junit-jupiter/redis.clients-jedis-4.0.1' into combined-pr-branch
2 parents 163ee91 + 23cbeb3 commit 95b56e4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

modules/junit-jupiter/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies {
77
testImplementation project(':mysql')
88
testImplementation project(':postgresql')
99
testImplementation 'com.zaxxer:HikariCP:4.0.3'
10-
testImplementation 'redis.clients:jedis:3.7.0'
10+
testImplementation 'redis.clients:jedis:4.0.1'
1111
testImplementation 'org.apache.httpcomponents:httpclient:4.5.13'
1212
testImplementation ('org.mockito:mockito-core:4.2.0') {
1313
exclude(module: 'hamcrest-core')

modules/junit-jupiter/src/test/java/org/testcontainers/junit/jupiter/inheritance/InheritedTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ class InheritedTests extends AbstractTestBase {
1212

1313
@Test
1414
void step1() {
15-
assertEquals(1, redisPerClass.getJedis().incr("key").longValue());
16-
assertEquals(1, redisPerTest.getJedis().incr("key").longValue());
17-
assertEquals(1, myRedis.getJedis().incr("key").longValue());
15+
assertEquals(1, redisPerClass.getJedis().incr("key"));
16+
assertEquals(1, redisPerTest.getJedis().incr("key"));
17+
assertEquals(1, myRedis.getJedis().incr("key"));
1818
}
1919

2020
@Test
2121
void step2() {
22-
assertEquals(2, redisPerClass.getJedis().incr("key").longValue());
23-
assertEquals(1, redisPerTest.getJedis().incr("key").longValue());
24-
assertEquals(1, myRedis.getJedis().incr("key").longValue());
22+
assertEquals(2, redisPerClass.getJedis().incr("key"));
23+
assertEquals(1, redisPerTest.getJedis().incr("key"));
24+
assertEquals(1, myRedis.getJedis().incr("key"));
2525
}
2626
}

0 commit comments

Comments
 (0)