[TearDown] added

This commit is contained in:
Artemy
2025-11-04 11:51:37 +07:00
parent c720ae3667
commit c462d065f4
9 changed files with 60 additions and 0 deletions
+7
View File
@@ -4,6 +4,7 @@ using Govor.API.Hubs;
using Govor.Application.Interfaces.UserOnlineStatus;
using Govor.Core.Models.Users;
using Govor.Core.Repositories.Users;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Logging;
using Moq;
@@ -186,4 +187,10 @@ public class PresenceHubTests
It.IsAny<CancellationToken>()),
Times.Never);
}
[TearDown]
public void TearDown()
{
_hub?.Dispose();
}
}