mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 22:23:18 +08:00
20 lines
435 B
C#
20 lines
435 B
C#
|
|
using Microsoft.Extensions.DependencyInjection;
|
|||
|
|
|
|||
|
|
namespace Bit.IntegrationTestCommon;
|
|||
|
|
|
|||
|
|
#nullable enable
|
|||
|
|
|
|||
|
|
public interface ITestDatabase
|
|||
|
|
{
|
|||
|
|
public void AddDatabase(IServiceCollection serviceCollection);
|
|||
|
|
|
|||
|
|
public void Migrate(IServiceCollection serviceCollection);
|
|||
|
|
|
|||
|
|
public void Dispose();
|
|||
|
|
|
|||
|
|
public void ModifyGlobalSettings(Dictionary<string, string?> config)
|
|||
|
|
{
|
|||
|
|
// Default implementation does nothing
|
|||
|
|
}
|
|||
|
|
}
|