mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
Used PO ID instead of Org ID on accident (#4500)
This commit is contained in:
@ -169,10 +169,14 @@ public class ProviderEventServiceTests
|
||||
|
||||
_stripeFacade.GetSubscription(subscriptionId).Returns(subscription);
|
||||
|
||||
var client1Id = Guid.NewGuid();
|
||||
var client2Id = Guid.NewGuid();
|
||||
|
||||
var clients = new List<ProviderOrganizationOrganizationDetails>
|
||||
{
|
||||
new ()
|
||||
{
|
||||
OrganizationId = client1Id,
|
||||
OrganizationName = "Client 1",
|
||||
Plan = "Teams (Monthly)",
|
||||
Seats = 50,
|
||||
@ -181,6 +185,7 @@ public class ProviderEventServiceTests
|
||||
},
|
||||
new ()
|
||||
{
|
||||
OrganizationId = client2Id,
|
||||
OrganizationName = "Client 2",
|
||||
Plan = "Enterprise (Monthly)",
|
||||
Seats = 50,
|
||||
@ -228,6 +233,7 @@ public class ProviderEventServiceTests
|
||||
options.InvoiceId == invoice.Id &&
|
||||
options.InvoiceNumber == invoice.Number &&
|
||||
options.ClientName == "Client 1" &&
|
||||
options.ClientId == client1Id &&
|
||||
options.PlanName == "Teams (Monthly)" &&
|
||||
options.AssignedSeats == 50 &&
|
||||
options.UsedSeats == 30 &&
|
||||
@ -239,6 +245,7 @@ public class ProviderEventServiceTests
|
||||
options.InvoiceId == invoice.Id &&
|
||||
options.InvoiceNumber == invoice.Number &&
|
||||
options.ClientName == "Client 2" &&
|
||||
options.ClientId == client2Id &&
|
||||
options.PlanName == "Enterprise (Monthly)" &&
|
||||
options.AssignedSeats == 50 &&
|
||||
options.UsedSeats == 30 &&
|
||||
|
Reference in New Issue
Block a user