Added timezone to test so that it no longer fails when run in CET.
@@ -148,7 +148,7 @@ public class AggregationTest extends TestBase {
@Test
public void testDateToString() throws ParseException {
checkMinServerVersion(3.0);
- Date joined = new SimpleDateFormat("yyyy-MM-dd").parse("2016-05-01");
+ Date joined = new SimpleDateFormat("yyyy-MM-dd z").parse("2016-05-01 UTC");
getDs().save(new User("John Doe", joined));
AggregationPipeline pipeline = getDs()
.createAggregation(User.class)
