using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.FileProviders; namespace RpgRoller.Tests; internal sealed class TestWebHostEnvironment : IWebHostEnvironment { public string ApplicationName { get; set; } = "RpgRoller.Tests"; public IFileProvider WebRootFileProvider { get; set; } = new NullFileProvider(); public string WebRootPath { get; set; } = string.Empty; public string EnvironmentName { get; set; } = "Development"; public string ContentRootPath { get; set; } = string.Empty; public IFileProvider ContentRootFileProvider { get; set; } = new NullFileProvider(); }