From 5d3c76f54397735473f13cf67a9b407244277bcc Mon Sep 17 00:00:00 2001 From: zxu Date: Wed, 18 Apr 2018 15:59:08 -0400 Subject: fix integration test (#1134) --- Firestore/Example/Tests/Integration/API/FIRFirestoreSourceTests.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Firestore/Example/Tests') 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"}]; -- cgit v1.2.3