aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests
diff options
context:
space:
mode:
authorGravatar zxu <zxu@google.com>2018-04-18 15:59:08 -0400
committerGravatar GitHub <noreply@github.com>2018-04-18 15:59:08 -0400
commit5d3c76f54397735473f13cf67a9b407244277bcc (patch)
tree9f60653f921423d9bbe4ff19725d6c5371f8978e /Firestore/Example/Tests
parent2320ba483752867872ca0128098af4e0eef08164 (diff)
fix integration test (#1134)
Diffstat (limited to 'Firestore/Example/Tests')
-rw-r--r--Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm6
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"}];