Skip to content

Commit

Permalink
OptionsTests refactoring after previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Oct 5, 2024
1 parent 3481806 commit a19b96c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cleipnir.Flows.Tests/Flows/OptionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public async Task SimpleFlowCompletesSuccessfully()
.UseInMemoryStore()
.WithOptions(new Options(messagesDefaultMaxWaitForCompletion: TimeSpan.MaxValue))
.RegisterFlow<OptionsTestWithOverriddenOptionsFlow, OptionsTestWithOverriddenOptionsFlows>(
factory: sp => new OptionsTestWithOverriddenOptionsFlows(
flowsFactory: sp => new OptionsTestWithOverriddenOptionsFlows(
sp.GetRequiredService<FlowsContainer>(),
options: new Options(messagesDefaultMaxWaitForCompletion: TimeSpan.Zero)
)
Expand Down Expand Up @@ -60,7 +60,7 @@ public async Task FlowNameCanBeSpecifiedFromTheOutside()
.UseInMemoryStore()
.WithOptions(new Options(messagesDefaultMaxWaitForCompletion: TimeSpan.MaxValue))
.RegisterFlow<SimpleFlow, SimpleFlows>(
factory: sp => new SimpleFlows(
flowsFactory: sp => new SimpleFlows(
sp.GetRequiredService<FlowsContainer>(),
flowName: "SomeOtherFlowName"
)
Expand Down

0 comments on commit a19b96c

Please sign in to comment.