名称Branding变更
This commit is contained in:
1 parent
c74c1e3914
commit
8b5103d542
41 files changed
+282
-93
No files matched your search
@@ -2,6 +2,7 @@ using Jiaowu.Api.Controllers;
|
||||
using Jiaowu.Api.Domain.Academic;
|
||||
using Jiaowu.Api.Domain.Identity;
|
||||
using Jiaowu.Api.Infrastructure.Auth;
|
||||
using Jiaowu.Api.Infrastructure.Branding;
|
||||
using Jiaowu.Api.Infrastructure.OfficialDocuments;
|
||||
using Jiaowu.Api.Infrastructure.Persistence;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -107,7 +108,11 @@ public sealed class GradeAnalyticsCommentsControllerTests
|
||||
|
||||
private static GradeAnalyticsController CreateController(
|
||||
AppDbContext db, Guid userId, params string[] roles) =>
|
||||
new(db, new TestDataScope(userId, roles), new OfficialDocumentOptions());
|
||||
new(
|
||||
db,
|
||||
new TestDataScope(userId, roles),
|
||||
new OfficialDocumentOptions(),
|
||||
new BrandingOptions { ProductName = "测试校园综合服务平台" });
|
||||
|
||||
private sealed class TestDataScope(Guid userId, params string[] roles)
|
||||
: ICurrentUserDataScope
|
||||
|
||||
Reference in new issue
Block a user