TapiDirectoryRepository Tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace CPATapi.Server.Tests;
|
||||
|
||||
public class RepositoryTestsBase
|
||||
{
|
||||
[OneTimeSetUp]
|
||||
public void Setup()
|
||||
{
|
||||
// the type specified here is just so the secrets library can
|
||||
// find the UserSecretId we added in the csproj file
|
||||
var builder = new ConfigurationBuilder().AddUserSecrets<RepositoryTestsBase>();
|
||||
|
||||
Configuration = builder.Build();
|
||||
}
|
||||
|
||||
protected IConfigurationRoot Configuration { get; private set; }
|
||||
}
|
||||
Reference in New Issue
Block a user