Skip to content

Commit 033a2ec

Browse files
committed
fix test?
1 parent edeec6d commit 033a2ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ let emptyBundle = """
4545

4646
func testRunTransactionDoesNotCrashOnNilSuccess() async throws {
4747
let document = collectionRef().document()
48+
try await document.setData(["":""]) // ensure document exists
4849
let value = try await db.runTransaction { transact, error in
4950
transact.setData(["test": "test"], forDocument: document)
5051
return nil // should not crash

0 commit comments

Comments
 (0)