Commit graph

5 commits

Author SHA1 Message Date
Roland Illig
9c715ce075 Fix test for updatedAt property
Both `save` and `updateCity` calls can happen at the same millisecond,
therefore the `updatedAt` was not necessarily increased.

The `Thread.sleep` method doesn't mention any guarantees of increasing
the system time mentioned by `LocalDateTime` used in `CityEntity`, but
the tests didn't fail again with this change, even when run repeatedly.
2017-11-12 15:17:24 +01:00
Reinhard Prechtl
925e76f497 Update Tests to validate more fields 2017-06-09 18:15:14 +02:00
Reinhard Prechtl
1a368d360c Simplify DTO creation 2017-06-09 18:14:17 +02:00
Reinhard Prechtl
2dfb86896d Rename the service implementation to better reflect its functionality 2017-06-09 14:06:05 +02:00
Reinhard Prechtl
7073606393 Initial commit 2017-06-09 12:20:53 +02:00