mirror of
https://github.com/bitwarden/server
synced 2025-12-18 17:23:28 +00:00
Use test sqlite database
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Bit.Core.Services;
|
||||
using Bit.IntegrationTestCommon;
|
||||
using Bit.IntegrationTestCommon.Factories;
|
||||
|
||||
namespace Bit.SeederApi.IntegrationTest;
|
||||
@@ -7,6 +8,7 @@ public class SeederApiApplicationFactory : WebApplicationFactoryBase<Program>
|
||||
{
|
||||
public SeederApiApplicationFactory()
|
||||
{
|
||||
TestDatabase = new SqliteTestDatabase();
|
||||
_configureTestServices.Add(serviceCollection =>
|
||||
{
|
||||
serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>();
|
||||
|
||||
Reference in New Issue
Block a user