Skip to content

Commit

Permalink
increase expiryTime
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad committed Dec 7, 2023
1 parent 205cbab commit e417cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-C/Tests/QueryTest+Meta.m
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ - (void) testExpiryGreaterThanDate {
Assert([self.db saveDocument: doc error: &error], @"Error when creating a document: %@", error);
AssertNil(error);

NSTimeInterval expiryTime = 120;
NSTimeInterval expiryTime = 50;
NSDate* expiryDate = [NSDate dateWithTimeIntervalSinceNow: expiryTime];
Assert([self.db setDocumentExpirationWithID: docID expiration: expiryDate error: &error]);
AssertNil(error);
Expand Down

0 comments on commit e417cae

Please sign in to comment.