Skip to content

Commit

Permalink
remove managers from account mock
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Dec 17, 2024
1 parent a52e9c6 commit 964a554
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions management/server/mock_server/account_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ import (
"github.com/netbirdio/netbird/management/domain"
"github.com/netbirdio/netbird/management/server"
"github.com/netbirdio/netbird/management/server/activity"
"github.com/netbirdio/netbird/management/server/groups"
"github.com/netbirdio/netbird/management/server/idp"
"github.com/netbirdio/netbird/management/server/jwtclaims"
"github.com/netbirdio/netbird/management/server/networks"
nbpeer "github.com/netbirdio/netbird/management/server/peer"
"github.com/netbirdio/netbird/management/server/posture"
"github.com/netbirdio/netbird/management/server/settings"
"github.com/netbirdio/netbird/management/server/types"
"github.com/netbirdio/netbird/management/server/users"
"github.com/netbirdio/netbird/route"
)

Expand Down Expand Up @@ -119,26 +115,6 @@ func (am *MockAccountManager) UpdateAccountPeers(ctx context.Context, accountID
// do nothing
}

func (am *MockAccountManager) GetUserManager() users.Manager {
// TODO implement me
panic("implement me")
}

func (am *MockAccountManager) GetNetworksManager() networks.Manager {
// TODO implement me
panic("implement me")
}

func (am *MockAccountManager) GetSettingsManager() settings.Manager {
// TODO implement me
panic("implement me")
}

func (am *MockAccountManager) GetGroupsManager() groups.Manager {
// TODO implement me
panic("implement me")
}

func (am *MockAccountManager) DeleteSetupKey(ctx context.Context, accountID, userID, keyID string) error {
if am.DeleteSetupKeyFunc != nil {
return am.DeleteSetupKeyFunc(ctx, accountID, userID, keyID)
Expand Down

0 comments on commit 964a554

Please sign in to comment.