Fix formatting and monor cleanup
This commit is contained in:
parent
d1263934d3
commit
ece3508dd6
|
@ -36,7 +36,7 @@ public class MongoTemplateIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void whenInsertingUser_thenUserIsInserted() {
|
||||
User user = new User();
|
||||
final User user = new User();
|
||||
user.setName("Jon");
|
||||
mongoTemplate.insert(user);
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ public class MongoTemplateIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void givenUserExists_whenRemovingUser_thenUserIsRemoved() {
|
||||
User user = new User();
|
||||
final User user = new User();
|
||||
user.setName("Benn");
|
||||
mongoTemplate.insert(user);
|
||||
|
||||
|
|
Loading…
Reference in New Issue