Files
hrynco-notification-service/HrynCo.NotificationService.Web.IntegrationTests/TemplateWebApplicationFactory.cs
T
agrynco 81654c0d33 feat(templates): add service language template management
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage.

Ref: IT-1601
2026-10-17 22:02:43 +03:00

14 lines
444 B
C#

using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
namespace HrynCo.NotificationService.Web.IntegrationTests;
public sealed class TemplateWebApplicationFactory(string connectionString) : WebApplicationFactory<Program>
{
protected override void ConfigureWebHost(IWebHostBuilder builder)
{
builder.UseEnvironment("Testing");
builder.UseSetting("App:ConnectionString", connectionString);
}
}