From 53760b07bc3bc1a1e8a7935880c742f367b97f76 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Fri, 1 Sep 2023 12:20:30 +0200 Subject: [PATCH] Polishing. Remove sysout from tests. See #4491 --- .../mongodb/core/encryption/AbstractEncryptionTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/encryption/AbstractEncryptionTestBase.java b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/encryption/AbstractEncryptionTestBase.java index 393a0d12f2..87f3009cbe 100644 --- a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/encryption/AbstractEncryptionTestBase.java +++ b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/encryption/AbstractEncryptionTestBase.java @@ -353,7 +353,7 @@ void altKeyDetection(@Autowired CachingMongoClientEncryption mongoClientEncrypti template.save(p3); template.execute(Person.class, collection -> { - collection.find(new Document()).forEach(it -> System.out.println(it.toJson())); + collection.find(new Document()); return null; });