diff options
Diffstat (limited to 'Firestore/Example/Tests')
-rw-r--r-- | Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm b/Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm index 0f844c6..6dd08a0 100644 --- a/Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm +++ b/Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm @@ -114,7 +114,7 @@ // update the docs (though don't wait for a server response. We're offline; so // that ain't happening!). This allows us to further distinguished cached vs // server responses below. - [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} options:FIRSetOptions.merge]; + [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} merge:YES]; [[col documentWithPath:@"doc3"] setData:@{@"key3b" : @"value3b"}]; [[col documentWithPath:@"doc4"] setData:@{@"key4" : @"value4"}]; @@ -224,7 +224,7 @@ // update the docs (though don't wait for a server response. We're offline; so // that ain't happening!). This allows us to further distinguished cached vs // server responses below. - [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} options:FIRSetOptions.merge]; + [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} merge:YES]; [[col documentWithPath:@"doc3"] setData:@{@"key3b" : @"value3b"}]; [[col documentWithPath:@"doc4"] setData:@{@"key4" : @"value4"}]; @@ -409,7 +409,7 @@ // update the docs (though don't wait for a server response. We're offline; so // that ain't happening!). This allows us to further distinguished cached vs // server responses below. - [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} options:FIRSetOptions.merge]; + [[col documentWithPath:@"doc2"] setData:@{@"key2b" : @"value2b"} merge:YES]; [[col documentWithPath:@"doc3"] setData:@{@"key3b" : @"value3b"}]; [[col documentWithPath:@"doc4"] setData:@{@"key4" : @"value4"}]; |