Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
7d008bd5
"frontend/src/vscode:/vscode.git/clone" did not exist on "9b7b3755feaaa0c5e11963da83d77ccfc212d9a2"
Commit
7d008bd5
authored
Apr 09, 2026
by
IanShaw027
Browse files
fix(test): 修正 admin service 分组测试平台字段赋值
parent
66ff2def
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/service/admin_service_group_test.go
View file @
7d008bd5
...
@@ -349,7 +349,7 @@ func TestAdminService_UpdateGroup_ClearsMessagesDispatchFieldsWhenPlatformChange
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment