1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Run formatting (#2230)

This commit is contained in:
Justin Baur
2022-08-29 16:06:55 -04:00
committed by GitHub
parent 9b7aef0763
commit 7f5f010e1e
1205 changed files with 73813 additions and 75022 deletions

View File

@ -1,23 +1,22 @@
using Bit.Core.Models.Business;
using Xunit;
namespace Bit.Core.Test.Models.Business
namespace Bit.Core.Test.Models.Business;
public class BillingInfoTests
{
public class BillingInfoTests
[Fact]
public void BillingInvoice_Amount_ShouldComeFrom_InvoiceTotal()
{
[Fact]
public void BillingInvoice_Amount_ShouldComeFrom_InvoiceTotal()
var invoice = new Stripe.Invoice
{
var invoice = new Stripe.Invoice
{
AmountDue = 1000,
Total = 2000,
};
AmountDue = 1000,
Total = 2000,
};
var billingInvoice = new BillingInfo.BillingInvoice(invoice);
var billingInvoice = new BillingInfo.BillingInvoice(invoice);
// Should have been set from Total
Assert.Equal(20M, billingInvoice.Amount);
}
// Should have been set from Total
Assert.Equal(20M, billingInvoice.Amount);
}
}