1
0
mirror of https://github.com/bitwarden/server synced 2026-02-28 18:33:51 +00:00

missed using the billing address

This commit is contained in:
Kyle Denney
2026-01-21 17:17:01 -06:00
parent d330fd2082
commit 9eaa6a3cd7
5 changed files with 144 additions and 18 deletions

View File

@@ -27,12 +27,14 @@ public class UpgradePremiumToOrganizationRequestTests
};
// Act
var (organizationName, key, planType) = sut.ToDomain();
var (organizationName, key, planType, billingAddress) = sut.ToDomain();
// Assert
Assert.Equal("Test Organization", organizationName);
Assert.Equal("encrypted-key", key);
Assert.Equal(expectedPlanType, planType);
Assert.Equal("US", billingAddress.Country);
Assert.Equal("12345", billingAddress.PostalCode);
}
[Theory]