File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Parse/src/test/java/com/parse Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public void testPushTimeInThePast() {
186
186
ParsePush .State .Builder builder = new ParsePush .State .Builder ();
187
187
188
188
ParsePush .State state = builder
189
- .pushTime (System .currentTimeMillis () - 1000 )
189
+ .pushTime (System .currentTimeMillis () / 1000 - 1000 )
190
190
.data (new JSONObject ())
191
191
.build ();
192
192
}
@@ -196,7 +196,7 @@ public void testPushTimeTwoWeeksFromNow() {
196
196
ParsePush .State .Builder builder = new ParsePush .State .Builder ();
197
197
198
198
ParsePush .State state = builder
199
- .pushTime (System .currentTimeMillis () + 60 *60 *24 *7 *3 )
199
+ .pushTime (System .currentTimeMillis () / 1000 + 60 *60 *24 *7 *3 )
200
200
.data (new JSONObject ())
201
201
.build ();
202
202
}
You can’t perform that action at this time.
0 commit comments