We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd687f commit d903f6eCopy full SHA for d903f6e
Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift
@@ -43,17 +43,6 @@ let emptyBundle = """
43
XCTAssertTrue(snapshot.exists)
44
}
45
46
- func testRunTransactionDoesNotCrashOnNilSuccess() async throws {
47
- let document = collectionRef().document()
48
- try await document.setData(["": ""]) // ensure document exists
49
- let value = try await db.runTransaction { transact, error in
50
- transact.setData(["test": "test"], forDocument: document)
51
- return nil // should not crash
52
- }
53
-
54
- XCTAssertNil(value, "value should be nil on success")
55
56
57
func testLoadBundleFromData() async throws {
58
let bundle = "\(emptyBundle.count)\(emptyBundle)"
59
let bundleProgress = try await db.loadBundle(Data(bundle.utf8))
0 commit comments