Skip to content

Commit cb34dc7

Browse files
committed
test
1 parent 33a2b29 commit cb34dc7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,11 @@ let emptyBundle = """
6767
}
6868

6969
func testRunTransactionDoesNotCrashOnNilSuccess() async throws {
70-
let document = collectionRef().document()
71-
try await document.setData(["": ""]) // ensure document exists
7270
let value = try await db.runTransaction { transact, error in
73-
transact.setData(["test": "test"], forDocument: document)
7471
return nil // should not crash
7572
}
7673

77-
// XCTAssertNil(value, "value should be nil on success")
74+
XCTAssertNil(value, "value should be nil on success")
7875
}
7976
}
8077
#endif

0 commit comments

Comments
 (0)