Skip to content

Commit

Permalink
Fixed testPublisherWorkflow's TestWorkflow implmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
soorinpark committed Nov 1, 2021
1 parent c647ee7 commit 9f0b8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WorkflowCombine/Tests/AnyPublisherTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class AnyPublisherTests: XCTestCase {
typealias Rendering = Void

func render(state: State, context: RenderContext<Self>) -> Rendering {
Just(1)
.map { _ in AnyWorkflowAction<TestWorkflow>.noAction }
[1].publisher
.eraseToAnyPublisher()
.mapOutput { _ in AnyWorkflowAction<TestWorkflow>.noAction }
.running(in: context, key: "123")
}
}
Expand Down

0 comments on commit 9f0b8fc

Please sign in to comment.