From 4f7d3131c5cd7fd545d78097a1b5a925329dd806 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 15 Jul 2020 15:45:11 +0200 Subject: [PATCH] DATAMONGO-2571 - Polishing. Fix test method visibility. --- .../data/mongodb/core/ClientSessionTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ClientSessionTests.java b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ClientSessionTests.java index 2c9a46e7f..ea599484a 100644 --- a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ClientSessionTests.java +++ b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/ClientSessionTests.java @@ -63,7 +63,7 @@ public class ClientSessionTests { MongoClient client; @Before - void setUp() { + public void setUp() { client = MongoTestUtils.replSetClient(); @@ -74,7 +74,7 @@ public class ClientSessionTests { } @Test // DATAMONGO-1880 - void shouldApplyClientSession() { + public void shouldApplyClientSession() { ClientSession session = client.startSession(ClientSessionOptions.builder().causallyConsistent(true).build()); @@ -91,7 +91,7 @@ public class ClientSessionTests { } @Test // DATAMONGO-2241 - void shouldReuseConfiguredInfrastructure() { + public void shouldReuseConfiguredInfrastructure() { ClientSession session = client.startSession(ClientSessionOptions.builder().causallyConsistent(true).build());