1
0
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:
Matt Gibson
2025-11-18 15:03:48 -08:00
parent 620830bfd8
commit 58afdd5e5c

View File

@@ -1,4 +1,5 @@
using Bit.Core.Services; using Bit.Core.Services;
using Bit.IntegrationTestCommon;
using Bit.IntegrationTestCommon.Factories; using Bit.IntegrationTestCommon.Factories;
namespace Bit.SeederApi.IntegrationTest; namespace Bit.SeederApi.IntegrationTest;
@@ -7,6 +8,7 @@ public class SeederApiApplicationFactory : WebApplicationFactoryBase<Program>
{ {
public SeederApiApplicationFactory() public SeederApiApplicationFactory()
{ {
TestDatabase = new SqliteTestDatabase();
_configureTestServices.Add(serviceCollection => _configureTestServices.Add(serviceCollection =>
{ {
serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>(); serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>();