Files
biss e3c04dad8a 本轮迁移已完成,生产运行链路现已切换为纯 ASP.NET Core 10。
主要完成:
补齐招生学校计划、投档审核、报到、扫码、补录等原生接口。
新增 SQLite/MySQL 空库初始化及默认审批流、号码规则。
删除 Node 兼容代理,未知 API 直接返回原生 404。
Docker、Compose、Gitea CI 全部切换到 Eis.Web.dll。
CKEditor 已固化到 Web 发布资源,不再依赖 node_modules。
新增纯 .NET 冒烟脚本:[smoke-dotnet-native.ps1 (line 1)](C:/Users/BI/Documents/EIS-dotnet/scripts/smoke-dotnet-native.ps1:1)。
迁移状态已更新:[MIGRATION.md (line 14)](C:/Users/BI/Documents/EIS-dotnet/MIGRATION.md:14)。
容器入口见 [Dockerfile (line 31)](C:/Users/BI/Documents/EIS-dotnet/Dockerfile:31)。
2026-07-23 15:14:42 +08:00

22 lines
976 B
C#

using Eis.Domain.Migration;
using Eis.Infrastructure.Migration;
namespace Eis.Infrastructure.Tests.Migration;
public sealed class MigrationFeatureCatalogTests
{
[Fact]
public void ReportsCompletedNativeFeatureAreas()
{
var features = MigrationFeatureCatalog.Current(authenticationNative: true, candidateNative: true);
Assert.True(features.Single(item => item.Area == FeatureArea.Authentication).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Candidate).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Administration).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Admission).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Documents).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Excel).Native);
Assert.True(features.Single(item => item.Area == FeatureArea.Caching).Native);
}
}