fix(test): 修正 admin service 分组测试平台字段赋值

This commit is contained in:
IanShaw027
2026-04-09 12:42:37 +08:00
parent 66ff2def8c
commit 7d008bd5b6

View File

@@ -349,7 +349,7 @@ func TestAdminService_UpdateGroup_ClearsMessagesDispatchFieldsWhenPlatformChange
svc := &adminServiceImpl{groupRepo: repo}
group, err := svc.UpdateGroup(context.Background(), 1, &UpdateGroupInput{
Platform: ptrString(PlatformAnthropic),
Platform: PlatformAnthropic,
})
require.NoError(t, err)
require.NotNil(t, group)