diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-18 14:07:30 -0800 |
---|---|---|
committer | Sebastian Schmidt <mrschmidt@google.com> | 2017-12-18 14:07:30 -0800 |
commit | 31b90e6ea8336996e06d64fc949041a97339b95b (patch) | |
tree | 1aa9018ea312cb2412e48ee95143578858e92d88 /Firestore/Example/Tests/Integration | |
parent | d4de7a6e86476991e2363dd09f623b2f0edfbee4 (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.m | 2 |
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]]); |