Skip to content

Commit 9e398c3

Browse files
Updates WebApplicationFactory usage
Updates the test class to use the correct WebApplicationFactory type. This ensures proper dependency injection and test setup.
1 parent 4afc52f commit 9e398c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EssentialCSharp.Web.Tests/RouteConfigurationServiceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace EssentialCSharp.Web.Tests;
66

7-
public class RouteConfigurationServiceTests : IClassFixture<WebApplicationFactory<Program>>
7+
public class RouteConfigurationServiceTests : IClassFixture<WebApplicationFactory>
88
{
9-
private readonly WebApplicationFactory<Program> _Factory;
9+
private readonly WebApplicationFactory _Factory;
1010
private readonly IRouteConfigurationService _RouteConfigurationService;
1111

12-
public RouteConfigurationServiceTests(WebApplicationFactory<Program> factory)
12+
internal RouteConfigurationServiceTests(WebApplicationFactory factory)
1313
{
1414
_Factory = factory;
1515

0 commit comments

Comments
 (0)