From 4bead76115018f47e19cd6033be351beaaf366d7 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 16 Feb 2026 21:36:02 +0100 Subject: [PATCH] Update WorkflowTestFixture to use tenant activation and bump package dependencies - Integrated tenant activation in `WorkflowTestFixture` to improve multitenancy support. - Updated various package dependencies to latest versions for compatibility and performance improvements. --- Directory.Packages.props | 130 +++++++++--------- .../WorkflowTestFixture.cs | 5 +- 2 files changed, 69 insertions(+), 66 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index ca4477da2..ffb750117 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,76 +5,76 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + @@ -126,7 +126,7 @@ - + @@ -151,18 +151,18 @@ - + - + - + diff --git a/src/common/Elsa.Testing.Shared.Integration/WorkflowTestFixture.cs b/src/common/Elsa.Testing.Shared.Integration/WorkflowTestFixture.cs index 6dd17215a..bc416667f 100644 --- a/src/common/Elsa.Testing.Shared.Integration/WorkflowTestFixture.cs +++ b/src/common/Elsa.Testing.Shared.Integration/WorkflowTestFixture.cs @@ -1,3 +1,4 @@ +using Elsa.Common.Multitenancy; using Elsa.Expressions.Models; using Elsa.Features.Services; using Elsa.Workflows; @@ -108,7 +109,9 @@ public class WorkflowTestFixture return this; _services = _testApplicationBuilder.Build(); - await Services.PopulateRegistriesAsync(); + var tenantService = Services.GetRequiredService(); + await tenantService.ActivateTenantsAsync(); + return this; }