Skip to content

Commit aef5b90

Browse files
committed
Fix: Pass actual user ID instead of empty GUID to ExecuteAndWaitForEventAsync in tenant user isolation tests.
1 parent e9f9641 commit aef5b90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/BookStore.AppHost.Tests/TenantUserIsolationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public async Task AddToFavorites_InSpecificTenant_ShouldUpdateFavorites()
9898
// Act
9999
// Act
100100
// AddBookToFavoritesAsync ?
101-
_ = await TestHelpers.ExecuteAndWaitForEventAsync(Guid.Empty, "UserUpdated",
101+
_ = await TestHelpers.ExecuteAndWaitForEventAsync(userClient.UserId, "UserUpdated",
102102
async () => await userBooksClient.AddBookToFavoritesAsync(book.Id),
103103
TestConstants.DefaultEventTimeout);
104104

0 commit comments

Comments
 (0)