First commit. Include junk from template to remove
This commit is contained in:
13
tests/Application.FunctionalTests/TestDatabaseFactory.cs
Normal file
13
tests/Application.FunctionalTests/TestDatabaseFactory.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Hutopy.Application.FunctionalTests;
|
||||
|
||||
public static class TestDatabaseFactory
|
||||
{
|
||||
public static async Task<ITestDatabase> CreateAsync()
|
||||
{
|
||||
var database = new TestcontainersTestDatabase();
|
||||
|
||||
await database.InitialiseAsync();
|
||||
|
||||
return database;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user