Skip to content

Commit

Permalink
Fix the failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyprain-okeke committed Nov 12, 2024
1 parent 91ecd18 commit 6ba58a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public async Task GetMetadataAsync_OK(
{
sutProvider.GetDependency<ICurrentContext>().OrganizationUser(organizationId).Returns(true);
sutProvider.GetDependency<IOrganizationBillingService>().GetMetadata(organizationId)
.Returns(new OrganizationMetadata(true, true, true, true));
.Returns(new OrganizationMetadata(true, true, true, true, true));

var result = await sutProvider.Sut.GetMetadataAsync(organizationId);

Expand All @@ -64,6 +64,7 @@ public async Task GetMetadataAsync_OK(
Assert.True(response.IsManaged);
Assert.True(response.IsOnSecretsManagerStandalone);
Assert.True(response.IsSubscriptionUnpaid);
Assert.True(response.HasSubscription);
}

[Theory, BitAutoData]
Expand Down

0 comments on commit 6ba58a5

Please sign in to comment.