rmpestano / dbunit-rules

https://github.com/database-rider/database-rider
15 stars 5 forks source link

Fix date replacements tests #16

Closed Toilal closed 8 years ago

Toilal commented 8 years ago

Tests were failing when running on the last day of the month.

To avoid those kind of issue, we are now using Calendar API to add/substract values on dates.

I also use clone() before modifying date of the Tweet object.

rmpestano commented 8 years ago

good catch, thank you!