mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00

* Revert "Add git blame entry (#2226)" This reverts commit 239286737d15cb84a893703ee5a8b33a2d67ad3d. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit 34fb4cca2aa78deb84d4cbc359992a7c6bba7ea5.
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Bit.Core.Services;
|
|
using Bit.Core.Settings;
|
|
using Microsoft.AspNetCore.Http;
|
|
using NSubstitute;
|
|
using Xunit;
|
|
|
|
namespace Bit.Core.Test.Services
|
|
{
|
|
public class AzureQueuePushNotificationServiceTests
|
|
{
|
|
private readonly AzureQueuePushNotificationService _sut;
|
|
|
|
private readonly GlobalSettings _globalSettings;
|
|
private readonly IHttpContextAccessor _httpContextAccessor;
|
|
|
|
public AzureQueuePushNotificationServiceTests()
|
|
{
|
|
_globalSettings = new GlobalSettings();
|
|
_httpContextAccessor = Substitute.For<IHttpContextAccessor>();
|
|
|
|
_sut = new AzureQueuePushNotificationService(
|
|
_globalSettings,
|
|
_httpContextAccessor
|
|
);
|
|
}
|
|
|
|
// Remove this test when we add actual tests. It only proves that
|
|
// we've properly constructed the system under test.
|
|
[Fact(Skip = "Needs additional work")]
|
|
public void ServiceExists()
|
|
{
|
|
Assert.NotNull(_sut);
|
|
}
|
|
}
|
|
}
|