Skip to content

Commit

Permalink
Fix imports ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
cyprain-okeke committed Jun 14, 2023
1 parent c71cb5a commit 4f456ac
Showing 1 changed file with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using AutoFixture.Xunit2;
using Bit.Core.Enums;
using Bit.Core.Enums;
using Bit.Core.Models.Business;
using Bit.Core.Models.StaticStore;
using Bit.Core.OrganizationFeatures.OrganizationSignUp;
using Bit.Test.Common.AutoFixture.Attributes;
using Bit.Core.Exceptions;
using Xunit;
using Bit.Core.Models.StaticStore;
using Bit.Test.Common.AutoFixture;
using Bit.Test.Common.AutoFixture.Attributes;

namespace Bit.Core.Test.OrganizationFeatures.OrganizationSignUp;

Expand All @@ -27,9 +26,9 @@ public void Validate_WhenPlanDoesNotAllowAdditionalStorageAndUpgradeRequestsAddi
[Theory]
[BitAutoData]
public void Validate_WhenUpgradeRequestsNegativeAdditionalStorage_ThrowsBadRequestException(
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider,
[Frozen] OrganizationUpgrade upgrade)
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider)
{
var upgrade = new OrganizationUpgrade();
var plan = new Plan { HasAdditionalStorageOption = true, BitwardenProduct = BitwardenProductType.PasswordManager };
upgrade.AdditionalStorageGb = -5;

Expand All @@ -39,10 +38,10 @@ public void Validate_WhenUpgradeRequestsNegativeAdditionalStorage_ThrowsBadReque
[Theory]
[BitAutoData]
public void Validate_WhenNoSeatsAfterUpgrade_ThrowsBadRequestException(
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider,
[Frozen] Plan plan,
[Frozen] OrganizationUpgrade upgrade)
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider)
{
var plan = new Plan();
var upgrade = new OrganizationUpgrade();
plan.BaseSeats = 5;
plan.BitwardenProduct = BitwardenProductType.PasswordManager;
upgrade.AdditionalSeats = -5;
Expand All @@ -53,10 +52,10 @@ public void Validate_WhenNoSeatsAfterUpgrade_ThrowsBadRequestException(
[Theory]
[BitAutoData]
public void Validate_WhenUpgradeRequestsNegativeAdditionalSeats_ThrowsBadRequestException(
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider,
[Frozen] Plan plan,
[Frozen] OrganizationUpgrade upgrade)
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider)
{
var plan = new Plan();
var upgrade = new OrganizationUpgrade();
plan.BitwardenProduct = BitwardenProductType.PasswordManager;
upgrade.AdditionalSeats = -3;

Expand All @@ -66,10 +65,10 @@ public void Validate_WhenUpgradeRequestsNegativeAdditionalSeats_ThrowsBadRequest
[Theory]
[BitAutoData]
public void Validate_WhenPlanDoesNotAllowAdditionalSeatsAndUpgradeRequestsAdditionalSeats_ThrowsBadRequestException(
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider,
[Frozen] Plan plan,
[Frozen] OrganizationUpgrade upgrade)
SutProvider<PasswordManagerSignUpValidationStrategy> sutProvider)
{
var plan = new Plan();
var upgrade = new OrganizationUpgrade();
plan.HasAdditionalSeatsOption = false;
plan.BitwardenProduct = BitwardenProductType.PasswordManager;
upgrade.AdditionalSeats = 2;
Expand Down

0 comments on commit 4f456ac

Please sign in to comment.