Fix unneccessary logs
@@ -16,11 +16,9 @@ import org.springframework.test.context.junit4.SpringRunner;
@SpringBootTest
public class MapperTest {
- @Autowired
- private PlaceRepository repository;
+ @Autowired private PlaceRepository repository;
- @Autowired
- private PlaceMapper mapper;
+ @Autowired private PlaceMapper mapper;
@Test
public void mapToTest() {
@@ -33,8 +31,6 @@ public class MapperTest {
Assert.assertEquals(place.getTitle(), dto.getTitle());
Assert.assertEquals(2, dto.getVisitorIds().size());
- System.out.println(dto.toString());
-
Place entity = mapper.convertToEntity(dto);
Assert.assertEquals(place.getId(), entity.getId());
Assert.assertEquals(place.getTitle(), entity.getTitle());
