Reorganize tests by API and service concerns
This commit is contained in:
14
RpgRoller.Tests/Support/TestWebHostEnvironment.cs
Normal file
14
RpgRoller.Tests/Support/TestWebHostEnvironment.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user