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
04cedce9
Commit
04cedce9
authored
Feb 09, 2026
by
QTom
Browse files
test: 为 stubAccountRepo 添加 ListCRSAccountIDs 方法实现
parent
5e0d7894
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/server/api_contract_test.go
View file @
04cedce9
...
@@ -1049,6 +1049,10 @@ func (s *stubAccountRepo) BulkUpdate(ctx context.Context, ids []int64, updates s
...
@@ -1049,6 +1049,10 @@ func (s *stubAccountRepo) BulkUpdate(ctx context.Context, ids []int64, updates s
return
int64
(
len
(
ids
)),
nil
return
int64
(
len
(
ids
)),
nil
}
}
func
(
s
*
stubAccountRepo
)
ListCRSAccountIDs
(
ctx
context
.
Context
)
(
map
[
string
]
int64
,
error
)
{
return
nil
,
errors
.
New
(
"not implemented"
)
}
type
stubProxyRepo
struct
{}
type
stubProxyRepo
struct
{}
func
(
stubProxyRepo
)
Create
(
ctx
context
.
Context
,
proxy
*
service
.
Proxy
)
error
{
func
(
stubProxyRepo
)
Create
(
ctx
context
.
Context
,
proxy
*
service
.
Proxy
)
error
{
...
...
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