mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
Format
This commit is contained in:
parent
9944154b08
commit
93b834e1d0
@ -759,7 +759,7 @@ public class NotificationHubPushNotificationServiceTests
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public async Task PushSyncSendDeleteAsync_SendExpectedData()
|
public async Task PushSyncSendDeleteAsync_SendExpectedData()
|
||||||
{
|
{
|
||||||
var userId = Guid.NewGuid();
|
var userId = Guid.NewGuid();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// TODO: Move to own file
|
// TODO: Move to own file
|
||||||
using System.IdentityModel.Tokens.Jwt;
|
using System.IdentityModel.Tokens.Jwt;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Http.Json;
|
using System.Net.Http.Json;
|
||||||
|
@ -57,7 +57,7 @@ public class RelayPushNotificationServiceTests : PushTestBase
|
|||||||
{
|
{
|
||||||
var sut = CreateService();
|
var sut = CreateService();
|
||||||
await Assert.ThrowsAsync<NotImplementedException>(
|
await Assert.ThrowsAsync<NotImplementedException>(
|
||||||
async () => await sut.SendPayloadToInstallationAsync("installation_id", PushType.AuthRequest, new {}, null)
|
async () => await sut.SendPayloadToInstallationAsync("installation_id", PushType.AuthRequest, new { }, null)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ public class RelayPushNotificationServiceTests : PushTestBase
|
|||||||
{
|
{
|
||||||
var sut = CreateService();
|
var sut = CreateService();
|
||||||
await Assert.ThrowsAsync<NotImplementedException>(
|
await Assert.ThrowsAsync<NotImplementedException>(
|
||||||
async () => await sut.SendPayloadToUserAsync("user_id", PushType.AuthRequest, new {}, null)
|
async () => await sut.SendPayloadToUserAsync("user_id", PushType.AuthRequest, new { }, null)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ public class RelayPushNotificationServiceTests : PushTestBase
|
|||||||
{
|
{
|
||||||
var sut = CreateService();
|
var sut = CreateService();
|
||||||
await Assert.ThrowsAsync<NotImplementedException>(
|
await Assert.ThrowsAsync<NotImplementedException>(
|
||||||
async () => await sut.SendPayloadToOrganizationAsync("organization_id", PushType.AuthRequest, new {}, null)
|
async () => await sut.SendPayloadToOrganizationAsync("organization_id", PushType.AuthRequest, new { }, null)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ public class RelayPushNotificationServiceTests : PushTestBase
|
|||||||
["UserId"] = authRequest.UserId,
|
["UserId"] = authRequest.UserId,
|
||||||
["OrganizationId"] = null,
|
["OrganizationId"] = null,
|
||||||
["DeviceId"] = _deviceId,
|
["DeviceId"] = _deviceId,
|
||||||
["Identifier"] = DeviceIdentifier,
|
["Identifier"] = DeviceIdentifier,
|
||||||
["Type"] = 15,
|
["Type"] = 15,
|
||||||
["Payload"] = new JsonObject
|
["Payload"] = new JsonObject
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user