mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
More Epub Fixes (#4017)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -30,7 +30,6 @@ public abstract class AbstractDbTest(ITestOutputHelper testOutputHelper): Abstra
|
||||
.EnableSensitiveDataLogging()
|
||||
.Options;
|
||||
|
||||
var connection = RelationalOptionsExtension.Extract(contextOptions).Connection;
|
||||
var context = new DataContext(contextOptions);
|
||||
|
||||
await context.Database.EnsureCreatedAsync();
|
||||
@@ -59,9 +58,7 @@ public abstract class AbstractDbTest(ITestOutputHelper testOutputHelper): Abstra
|
||||
{
|
||||
try
|
||||
{
|
||||
await context.Database.EnsureCreatedAsync();
|
||||
var filesystem = CreateFileSystem();
|
||||
|
||||
await Seed.SeedSettings(context, new DirectoryService(Substitute.For<ILogger<DirectoryService>>(), filesystem));
|
||||
|
||||
var setting = await context.ServerSetting.Where(s => s.Key == ServerSettingKey.CacheDirectory).SingleAsync();
|
||||
|
||||
Reference in New Issue
Block a user