Skip to content

Commit e8aab27

Browse files
committed
Remove not used code.
1 parent 96287a4 commit e8aab27

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Components/Endpoints/test/EndpointHtmlRendererTest.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,8 +949,6 @@ public async Task Renderer_WhenNoNotFoundPathProvided_Throws()
949949
var renderer = GetEndpointHtmlRenderer();
950950
httpContext.Items[nameof(StatusCodePagesOptions)] = null; // simulate missing re-execution route
951951

952-
var component = new NotFoundComponent();
953-
var id = renderer.AssignRootComponentId(component);
954952
var exception = await Assert.ThrowsAsync<InvalidOperationException>(async () =>
955953
await renderer.SetNotFoundResponseAsync(httpContext, new NotFoundEventArgs(""))
956954
);

0 commit comments

Comments
 (0)