mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
Corrected the number sent to stripe. Corrected the test. (#5667)
This commit is contained in:
@@ -420,7 +420,7 @@ public class InviteOrganizationUserCommandTests
|
||||
Assert.IsType<Success<ScimInviteOrganizationUsersResponse>>(result);
|
||||
|
||||
await sutProvider.GetDependency<IPaymentService>()
|
||||
.AdjustSeatsAsync(organization, inviteOrganization.Plan, passwordManagerUpdate.SeatsRequiredToAdd);
|
||||
.AdjustSeatsAsync(organization, inviteOrganization.Plan, passwordManagerUpdate.UpdatedSeatTotal!.Value);
|
||||
|
||||
await orgRepository.Received(1).ReplaceAsync(Arg.Is<Organization>(x => x.Seats == passwordManagerUpdate.UpdatedSeatTotal));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user