We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96287a4 commit e8aab27Copy full SHA for e8aab27
src/Components/Endpoints/test/EndpointHtmlRendererTest.cs
@@ -949,8 +949,6 @@ public async Task Renderer_WhenNoNotFoundPathProvided_Throws()
949
var renderer = GetEndpointHtmlRenderer();
950
httpContext.Items[nameof(StatusCodePagesOptions)] = null; // simulate missing re-execution route
951
952
- var component = new NotFoundComponent();
953
- var id = renderer.AssignRootComponentId(component);
954
var exception = await Assert.ThrowsAsync<InvalidOperationException>(async () =>
955
await renderer.SetNotFoundResponseAsync(httpContext, new NotFoundEventArgs(""))
956
);
0 commit comments