Files
RpgRoller/RpgRoller.Tests/Support/TestWebHostEnvironment.cs
2026-02-26 11:08:02 +01:00

14 lines
609 B
C#

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();
}