Skip to content

Commit 812cf98

Browse files
committed
Extended integration test to validate TopicController.NotFound
This validates the condition patched by ab71a69.
1 parent ab71a69 commit 812cf98

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

OnTopic.AspNetCore.Mvc.IntegrationTests/ServiceCollectionExtensionsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public async Task MapTopicSitemap_RespondsToRequest() {
9494
/// </summary>
9595
[Theory]
9696
[InlineData("/MissingPage/", HttpStatusCode.NotFound, "400")]
97+
[InlineData("/Web/MissingPage/", HttpStatusCode.NotFound, "400")]
9798
[InlineData("/Web/Container/", HttpStatusCode.Forbidden, "400")]
9899
public async Task UseStatusCodePages_ReturnsExpectedStatusCode(string path, HttpStatusCode statusCode, string expectedContent) {
99100

0 commit comments

Comments
 (0)