1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
This commit is contained in:
Sergey Cherepanov 2024-03-12 19:47:31 +01:00
parent b9d85b09be
commit 870f6375df
No known key found for this signature in database
GPG key ID: 87F8EDE8FBDF637C

View file

@ -374,9 +374,15 @@ func (t *mockTreeManager) DeleteTree(ctx context.Context, spaceId, treeId string
return nil
}
var _ coordinatorclient.CoordinatorClient = (*mockCoordinatorClient)(nil)
type mockCoordinatorClient struct {
}
func (m mockCoordinatorClient) AccountLimitsSet(ctx context.Context, req *coordinatorproto.AccountLimitsSetRequest) error {
return nil
}
func (m mockCoordinatorClient) SpaceDelete(ctx context.Context, spaceId string, conf *coordinatorproto.DeletionConfirmPayloadWithSignature) (err error) {
return
}
@ -401,10 +407,6 @@ func (m mockCoordinatorClient) SpaceSign(ctx context.Context, payload coordinato
return
}
func (m mockCoordinatorClient) FileLimitCheck(ctx context.Context, spaceId string, identity []byte) (response *coordinatorproto.FileLimitCheckResponse, err error) {
return
}
func (m mockCoordinatorClient) NetworkConfiguration(ctx context.Context, currentId string) (*coordinatorproto.NetworkConfigurationResponse, error) {
return nil, nil
}