From 9e74b9f66aaeb3b07ed3274cb50f477d23c7b7ab Mon Sep 17 00:00:00 2001 From: alex289 Date: Sun, 8 Dec 2024 23:10:28 +0100 Subject: [PATCH] fix: Use new Id for deleted tenant --- .../Fixtures/TenantTestFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CleanArchitecture.IntegrationTests/Fixtures/TenantTestFixture.cs b/CleanArchitecture.IntegrationTests/Fixtures/TenantTestFixture.cs index f56bf75..8418bf9 100644 --- a/CleanArchitecture.IntegrationTests/Fixtures/TenantTestFixture.cs +++ b/CleanArchitecture.IntegrationTests/Fixtures/TenantTestFixture.cs @@ -23,7 +23,7 @@ public async Task SeedTestData() // This tenant should not be included in any queries var deletedTenant = new Tenant( - CreatedTenantId, + Guid.NewGuid(), "Test Tenant2"); deletedTenant.Delete(); context.Tenants.Add(deletedTenant);