Fixing test failure on MacOS due to time difference.
authorankitk <ankitk@ankitk-think.humaninference.com>
Thu, 28 Nov 2013 20:03:05 +0000 (21:03 +0100)
committerankitk <ankitk@ankitk-think.humaninference.com>
Thu, 28 Nov 2013 20:03:05 +0000 (21:03 +0100)
salesforce/src/test/java/org/apache/metamodel/salesforce/SalesforceDataContextTest.java

index 7ff0ac8..8d4da09 100644 (file)
@@ -363,6 +363,7 @@ public class SalesforceDataContextTest extends SalesforceTestCase {
         cal.set(Calendar.YEAR, 2013);
         cal.set(Calendar.MONTH, Calendar.JANUARY);
         cal.set(Calendar.DAY_OF_MONTH, 23);
+        cal.set(Calendar.AM_PM, 0);
         final Date date = cal.getTime();
         final Timestamp dateTime = new Timestamp(date.getTime());