Skip to content

Commit 906d992

Browse files
Removes Application Insights tests
Removes the Application Insights tests, which appear unnecessary at this stage. Adds a functional test for the health check endpoint.
1 parent 3d6de45 commit 906d992

2 files changed

Lines changed: 2 additions & 32 deletions

File tree

EssentialCSharp.Web.Tests/ApplicationInsightsTests.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

EssentialCSharp.Web.Tests/FunctionalTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Net;
1+
using System.Net;
22

33
namespace EssentialCSharp.Web.Tests;
44

@@ -9,6 +9,7 @@ public class FunctionalTests
99
[InlineData("/hello-world")]
1010
[InlineData("/hello-world#hello-world")]
1111
[InlineData("/guidelines")]
12+
[InlineData("/healthz")]
1213
public async Task WhenTheApplicationStarts_ItCanLoadLoadPages(string relativeUrl)
1314
{
1415
using WebApplicationFactory factory = new();

0 commit comments

Comments
 (0)