fix(test): 修正 admin service 分组测试平台字段赋值
This commit is contained in:
@@ -349,7 +349,7 @@ func TestAdminService_UpdateGroup_ClearsMessagesDispatchFieldsWhenPlatformChange
|
|||||||
svc := &adminServiceImpl{groupRepo: repo}
|
svc := &adminServiceImpl{groupRepo: repo}
|
||||||
|
|
||||||
group, err := svc.UpdateGroup(context.Background(), 1, &UpdateGroupInput{
|
group, err := svc.UpdateGroup(context.Background(), 1, &UpdateGroupInput{
|
||||||
Platform: ptrString(PlatformAnthropic),
|
Platform: PlatformAnthropic,
|
||||||
})
|
})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.NotNil(t, group)
|
require.NotNil(t, group)
|
||||||
|
|||||||
Reference in New Issue
Block a user