From 337efb7ce9ad2cc254937fa8207f8d7201da1d03 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 28 Apr 2021 10:17:37 +0200 Subject: [PATCH] Polishing. Original pull request: #618. See #583. --- .../springdata/map/PersonRepositoryIntegrationTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java b/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java index f47f0705..80c58fad 100644 --- a/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java +++ b/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java @@ -25,15 +25,14 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.map.repository.config.EnableMapRepositories; - /** * Integration tests for {@link PersonRepository}. * * @author Oliver Gierke + * @author Divya Srivastava */ - @SpringBootTest -public class PersonRepositoryIntegrationTest { +class PersonRepositoryIntegrationTest { @SpringBootApplication @EnableMapRepositories @@ -42,7 +41,7 @@ public class PersonRepositoryIntegrationTest { @Autowired PersonRepository repository; @Test - public void storesPerson() { + void storesPerson() { Person person = repository.save(new Person("Dave", "Matthews", 47)); @@ -50,7 +49,7 @@ public class PersonRepositoryIntegrationTest { } @Test - public void findsPersonByAge() { + void findsPersonByAge() { Person dave = repository.save(new Person("Dave", "Matthews", 47)); Person oliver = repository.save(new Person("Oliver August", "Matthews", 7));