1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

fix tests

This commit is contained in:
jrmccannon 2025-03-26 16:23:43 -05:00
parent 75c6d2b0dc
commit 1384d9c58e
No known key found for this signature in database
GPG Key ID: CF03F3DB01CE96A6

View File

@ -16,8 +16,7 @@ public class InviteUserOrganizationValidationTests
public void Validate_WhenOrganizationIsFreeTier_ShouldReturnValidResponse(Organization organization)
{
var inviteOrganization = new InviteOrganization(organization, new FreePlan());
var validSubscriptionUpdate = new Valid<PasswordManagerSubscriptionUpdate>(
new PasswordManagerSubscriptionUpdate(inviteOrganization, 0, 0));
var validSubscriptionUpdate = new PasswordManagerSubscriptionUpdate(inviteOrganization, 0, 0);
var result = InviteUserOrganizationValidator.Validate(inviteOrganization, validSubscriptionUpdate);
@ -33,8 +32,7 @@ public class InviteUserOrganizationValidationTests
organization.Seats = 3;
var inviteOrganization = new InviteOrganization(organization, new FreePlan());
var validSubscriptionUpdate = new Valid<PasswordManagerSubscriptionUpdate>(
new PasswordManagerSubscriptionUpdate(inviteOrganization, 3, 1));
var validSubscriptionUpdate = new PasswordManagerSubscriptionUpdate(inviteOrganization, 3, 1);
var result = InviteUserOrganizationValidator.Validate(inviteOrganization, validSubscriptionUpdate);
@ -52,8 +50,7 @@ public class InviteUserOrganizationValidationTests
organization.MaxAutoscaleSeats = 4;
var inviteOrganization = new InviteOrganization(organization, new FreePlan());
var validSubscriptionUpdate = new Valid<PasswordManagerSubscriptionUpdate>(
new PasswordManagerSubscriptionUpdate(inviteOrganization, 3, 1));
var validSubscriptionUpdate = new PasswordManagerSubscriptionUpdate(inviteOrganization, 3, 1);
var result = InviteUserOrganizationValidator.Validate(inviteOrganization, validSubscriptionUpdate);