diff --git a/test/integration/Elsa.Core.IntegrationTests/Autofixture/WithEntityFrameworkAttribute.cs b/test/integration/Elsa.Core.IntegrationTests/Autofixture/WithEntityFrameworkAttribute.cs index 4adaef5fd..a45a84cf1 100644 --- a/test/integration/Elsa.Core.IntegrationTests/Autofixture/WithEntityFrameworkAttribute.cs +++ b/test/integration/Elsa.Core.IntegrationTests/Autofixture/WithEntityFrameworkAttribute.cs @@ -15,7 +15,7 @@ namespace Elsa.Core.IntegrationTests.Autofixture return builder => { builder.ElsaCallbacks.Add(elsa => { - elsa.UseEntityFrameworkPersistence(opts => { + elsa.UseNonPooledEntityFrameworkPersistence(opts => { opts.UseSqlite($"Data Source={tempFolder.GetContainedPath("elsa.db")};", db => db.MigrationsAssembly(typeof(SqliteElsaContextFactory).Assembly.GetName().Name)); }); }); diff --git a/test/integration/Elsa.Core.IntegrationTests/Persistence/YesSql/PostgresSqlYesSqlIntegrationTests.cs b/test/integration/Elsa.Core.IntegrationTests/Persistence/YesSql/PostgresSqlYesSqlIntegrationTests.cs index e4748cfda..7081709d0 100644 --- a/test/integration/Elsa.Core.IntegrationTests/Persistence/YesSql/PostgresSqlYesSqlIntegrationTests.cs +++ b/test/integration/Elsa.Core.IntegrationTests/Persistence/YesSql/PostgresSqlYesSqlIntegrationTests.cs @@ -15,7 +15,7 @@ namespace Elsa.Core.IntegrationTests.Persistence.YesSql public class PostgresSqlYesSqlIntegrationTests { [Theory(DisplayName = "A persistable workflow instance with default persistence behaviour should be persisted-to and readable-from a YesSQL/PostgreSql store after being run"), AutoMoqData] - public async Task APersistableWorkflowInstanceWithDefaultPersistanceBehaviourShouldBeRoundTrippable([WithPersistableWorkflow,WithPostgresYesSql] ElsaHostBuilderBuilder hostBuilderBuilder) + public async Task APersistableWorkflowInstanceWithDefaultPersistenceBehaviourShouldBeRoundTrippable([WithPersistableWorkflow,WithPostgresYesSql] ElsaHostBuilderBuilder hostBuilderBuilder) { var hostBuilder = hostBuilderBuilder.GetHostBuilder(); hostBuilder.ConfigureServices((ctx, services) => services.AddHostedService());