Tests: Add BillingTest.Test_01_NoActiveAreaCommitments()
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Elwig.Helpers;
|
||||
using Elwig.Helpers.Billing;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using System.Reflection;
|
||||
|
||||
@ -16,6 +17,11 @@ namespace Tests {
|
||||
await AppDbContext.ExecuteEmbeddedScript(Connection, Assembly.GetExecutingAssembly(), "Tests.Resources.Insert.sql");
|
||||
}
|
||||
|
||||
[OneTimeSetUp]
|
||||
public async Task SetupBillingData() {
|
||||
await BillingData.Init();
|
||||
}
|
||||
|
||||
[OneTimeTearDown]
|
||||
public async Task TeardownDatabase() {
|
||||
AppDbContext.ConnectionStringOverride = null;
|
||||
|
Reference in New Issue
Block a user