fix: 兼容swagger旧路径并修复测试构建
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using TakeoutSaaS.Application.Dictionary.Contracts;
|
||||
@@ -443,6 +444,7 @@ public sealed class DictionaryApiTests
|
||||
new DictionaryItemRepository(context),
|
||||
cache,
|
||||
tenantProvider,
|
||||
new HttpContextAccessor { HttpContext = new DefaultHttpContext() },
|
||||
NullLogger<DictionaryCommandService>.Instance);
|
||||
}
|
||||
|
||||
@@ -494,6 +496,7 @@ public sealed class DictionaryApiTests
|
||||
cache,
|
||||
tenantProvider,
|
||||
currentUser,
|
||||
new HttpContextAccessor { HttpContext = new DefaultHttpContext() },
|
||||
NullLogger<DictionaryImportExportService>.Instance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user