From bdfe0b68232e8833c5661ea5b536a1c063b6812f Mon Sep 17 00:00:00 2001 From: Lukas Korba Date: Thu, 28 Mar 2024 16:03:00 +0100 Subject: [PATCH] orchard-subtree-roots - test testUpdateSubtreeRootsAction_RootsAvailablePutRootsSuccess fixed --- .../UpdateSubtreeRootsActionTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/OfflineTests/CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift b/Tests/OfflineTests/CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift index c6788da3..bb531876 100644 --- a/Tests/OfflineTests/CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift +++ b/Tests/OfflineTests/CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift @@ -78,7 +78,7 @@ final class UpdateSubtreeRootsActionTests: ZcashTestCase { let nextContext = try await updateSubtreeRootsActionAction.run(with: context) { _ in } let acResult = nextContext.checkStateIs(.updateChainTip) - XCTAssertTrue(acResult == .true, "Check of state failed with '\(acResult)'") + XCTAssertTrue(acResult == .called(2), "Check of state failed with '\(acResult)'") } catch { XCTFail("testUpdateSubtreeRootsAction_RootsAvailablePutRootsSuccess is not expected to fail. \(error)") }