0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-06-29 18:21:08 +00:00

fix: Use new Id for deleted tenant

This commit is contained in:
alex289 2024-12-08 23:10:28 +01:00
parent a03f1ce685
commit 9e74b9f66a
No known key found for this signature in database
GPG Key ID: 573F77CD2D87F863

View File

@ -23,7 +23,7 @@ public sealed class TenantTestFixture : TestFixtureBase
// This tenant should not be included in any queries
var deletedTenant = new Tenant(
CreatedTenantId,
Guid.NewGuid(),
"Test Tenant2");
deletedTenant.Delete();
context.Tenants.Add(deletedTenant);