Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: bcmmbaga <[email protected]>
  • Loading branch information
bcmmbaga committed Nov 27, 2024
1 parent 3186876 commit 41b4e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions management/server/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func initTestGroupAccount(am *DefaultAccountManager) (*DefaultAccountManager, *A
return nil, nil, err
}

err = am.Store.SavePolicy(context.Background(), LockingStrengthUpdate, policy)
err = am.Store.CreatePolicy(context.Background(), LockingStrengthUpdate, policy)
if err != nil {
return nil, nil, err
}
Expand All @@ -406,7 +406,7 @@ func initTestGroupAccount(am *DefaultAccountManager) (*DefaultAccountManager, *A

err = am.SaveGroups(context.Background(), accountID, groupAdminUserID, []*nbgroup.Group{
groupForRoute, groupForRoute2, groupForNameServerGroups, groupForPolicies,
groupForSetupKeys, groupForUsers, groupForUsers, groupForIntegration,
groupForSetupKeys, groupForUsers, groupForIntegration,
})
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit 41b4e31

Please sign in to comment.