refactor(DocSignedNotificationTests): add again EmailOut DbRepository using Fake.EGDbContext2Prod
- create base EGDbContextBase to be able to add custom DbContextOptions
This commit is contained in:
@@ -139,9 +139,9 @@ public class Fake
|
||||
/// Represents a mock database context that inherits from <see cref="EGDbContext"/>.
|
||||
/// This context is intended for testing purposes while connecting to the production database.
|
||||
/// </summary>
|
||||
public class EGDbContext2Prod : EGDbContext
|
||||
public class EGDbContext2Prod : EGDbContextBase
|
||||
{
|
||||
public EGDbContext2Prod(DbContextOptions<EGDbContext> options, IOptions<DbTriggerParams> triggerParamOptions, ILogger<EGDbContext>? logger = null) : base(options, triggerParamOptions, logger)
|
||||
public EGDbContext2Prod(DbContextOptions<EGDbContext2Prod> options, IOptions<DbTriggerParams> triggerParamOptions, ILogger<EGDbContext>? logger = null) : base(options, triggerParamOptions, logger)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user