mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
19 lines
548 B
C#
19 lines
548 B
C#
using Bit.Core.Services;
|
|
using Bit.IntegrationTestCommon;
|
|
using Bit.IntegrationTestCommon.Factories;
|
|
|
|
namespace Bit.SeederApi.IntegrationTest;
|
|
|
|
public class SeederApiApplicationFactory : WebApplicationFactoryBase<Startup>
|
|
{
|
|
public SeederApiApplicationFactory()
|
|
{
|
|
TestDatabase = new SqliteTestDatabase();
|
|
_configureTestServices.Add(serviceCollection =>
|
|
{
|
|
serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>();
|
|
serviceCollection.AddHttpContextAccessor();
|
|
});
|
|
}
|
|
}
|