feat: add recurring places and transaction pagination
Build MoneyMap image / build-and-push (push) Failing after 4s
Build MoneyMap image / build-and-push (push) Failing after 4s
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using MoneyMap.Data;
|
||||
|
||||
namespace MoneyMap.Tests.TestHelpers;
|
||||
|
||||
public static class DbContextHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates an in-memory database context for testing.
|
||||
/// Each call creates a unique database to ensure test isolation.
|
||||
/// </summary>
|
||||
public static MoneyMapContext CreateInMemoryContext()
|
||||
{
|
||||
var options = new DbContextOptionsBuilder<MoneyMapContext>()
|
||||
.UseInMemoryDatabase(databaseName: Guid.NewGuid().ToString())
|
||||
.Options;
|
||||
|
||||
return new MoneyMapContext(options);
|
||||
}
|
||||
}
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using MoneyMap.Data;
|
||||
|
||||
namespace MoneyMap.Tests.TestHelpers;
|
||||
|
||||
public static class DbContextHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates an in-memory database context for testing.
|
||||
/// Each call creates a unique database to ensure test isolation.
|
||||
/// </summary>
|
||||
public static MoneyMapContext CreateInMemoryContext()
|
||||
{
|
||||
var options = new DbContextOptionsBuilder<MoneyMapContext>()
|
||||
.UseInMemoryDatabase(databaseName: Guid.NewGuid().ToString())
|
||||
.Options;
|
||||
|
||||
return new MoneyMapContext(options);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user