Skip to content

Commit

Permalink
fixup! SIANXSVC-1193: dotnet-e5e does not handle binary requests as e…
Browse files Browse the repository at this point in the history
…xpected
  • Loading branch information
nachtjasmin committed Jan 19, 2024
1 parent 4c19fa5 commit 4060931
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Anexia.E5E.Tests/Integration/DependencyInjectionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ await Host.ConfigureEndpoints(builder =>
[Fact]
public async Task WithMissingDependenciesCrashes()
{
var aggregateException = await Assert.ThrowsAsync<AggregateException>(() => Host.ConfigureEndpoints(builder =>
await Host.ConfigureEndpoints(builder =>
{
builder.RegisterEntrypoint<NotWorkingDependencyInjectionTestHandler>(TestE5ERuntimeOptions
.DefaultEntrypointName);
}).StartAsync());
Assert.Contains(aggregateException.InnerExceptions, ex => ex is InvalidOperationException);
}).StartAsync();
await Assert.ThrowsAsync<TaskCanceledException>(() => Host.WriteExampleRequestOnceAsync());
}

private class WorkingDependencyInjectionTestHandler : IE5EFunctionHandler
Expand Down

0 comments on commit 4060931

Please sign in to comment.