23 lines
892 B
C#
23 lines
892 B
C#
// 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>();
|
|
}
|
|
}
|
|
} |