Skip to content

Commit

Permalink
fix: Use new Id for deleted tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
alex289 committed Dec 8, 2024
1 parent a03f1ce commit 9e74b9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9e74b9f

Please sign in to comment.