mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
[TearDown] added
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user