Add project files.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) Jan Škoruba. All Rights Reserved.
|
||||
// Licensed under the Apache License, Version 2.0.
|
||||
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using LiteCharmsSecurity.Admin.EntityFramework.Shared.DbContexts;
|
||||
using LiteCharmsSecurity.STS.Identity.Helpers;
|
||||
|
||||
namespace LiteCharmsSecurity.STS.Identity.Configuration.Test
|
||||
{
|
||||
public class StartupTest : Startup
|
||||
{
|
||||
public StartupTest(IWebHostEnvironment environment, IConfiguration configuration) : base(environment, configuration)
|
||||
{
|
||||
}
|
||||
|
||||
public override void RegisterDbContexts(IServiceCollection services)
|
||||
{
|
||||
services.RegisterDbContextsStaging<AdminIdentityDbContext, IdentityServerConfigurationDbContext, IdentityServerPersistedGrantDbContext, IdentityServerDataProtectionDbContext>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user