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:
parent
a03f1ce685
commit
9e74b9f66a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user