diff --git a/test/Core.Test/Billing/Stubs/FakeAutomaticTaxStrategy.cs b/test/Core.Test/Billing/Stubs/FakeAutomaticTaxStrategy.cs index 253aead5c7..3e1c8ff154 100644 --- a/test/Core.Test/Billing/Stubs/FakeAutomaticTaxStrategy.cs +++ b/test/Core.Test/Billing/Stubs/FakeAutomaticTaxStrategy.cs @@ -32,4 +32,10 @@ public class FakeAutomaticTaxStrategy( options.AutomaticTax = new InvoiceAutomaticTaxOptions { Enabled = isAutomaticTaxEnabled }; } + + public void SetInvoiceCreatePreviewOptions(InvoiceCreatePreviewOptions options) + { + options.AutomaticTax = new InvoiceAutomaticTaxOptions { Enabled = IsAutomaticTaxEnabled }; + + } }