Skip to content

Commit d903f6e

Browse files
committed
remove unpassable test
1 parent 6dd687f commit d903f6e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,6 @@ let emptyBundle = """
4343
XCTAssertTrue(snapshot.exists)
4444
}
4545

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-
5746
func testLoadBundleFromData() async throws {
5847
let bundle = "\(emptyBundle.count)\(emptyBundle)"
5948
let bundleProgress = try await db.loadBundle(Data(bundle.utf8))

0 commit comments

Comments
 (0)