aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests/Integration
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-18 14:07:30 -0800
committerGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-18 14:07:30 -0800
commit31b90e6ea8336996e06d64fc949041a97339b95b (patch)
tree1aa9018ea312cb2412e48ee95143578858e92d88 /Firestore/Example/Tests/Integration
parentd4de7a6e86476991e2363dd09f623b2f0edfbee4 (diff)
Fixing return type of verifySnapshotWithResolvedTimestamps
This should address a crash that happens when a debugger is attached
Diffstat (limited to 'Firestore/Example/Tests/Integration')
-rw-r--r--Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.m b/Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.m
index da3c03c..2a21dc0 100644
--- a/Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.m
+++ b/Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.m
@@ -142,7 +142,7 @@
}
/** Verifies a snapshot containing _setData but with resolved server timestamps. */
-- (id)verifySnapshotWithResolvedTimestamps:(FIRDocumentSnapshot *)snapshot {
+- (void)verifySnapshotWithResolvedTimestamps:(FIRDocumentSnapshot *)snapshot {
XCTAssertTrue(snapshot.exists);
NSDate *when = snapshot[@"when"];
XCTAssertTrue([when isKindOfClass:[NSDate class]]);