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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user