test: 为 stubAccountRepo 添加 ListCRSAccountIDs 方法实现
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user