Skip to content

Commit

Permalink
make gen
Browse files Browse the repository at this point in the history
  • Loading branch information
bosorawis committed Feb 19, 2025
1 parent 264055a commit 59426ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/daemon/controller/handlers/groups/grants_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,6 @@ func TestGrants_ChildResourcesActions(t *testing.T) {
}

func TestOutputFields(t *testing.T) {

t.Run("ListGroups", func(t *testing.T) {
ctx := context.Background()
conn, _ := db.TestSetup(t, "postgres")
Expand Down Expand Up @@ -1248,7 +1247,8 @@ func TestOutputFields(t *testing.T) {
globalGroup.PublicId: {globals.IdField, globals.ScopeField, globals.ScopeIdField, globals.AuthorizedActionsField},
orgGroup.PublicId: {globals.IdField, globals.ScopeField, globals.ScopeIdField, globals.AuthorizedActionsField},
projGroup.PublicId: {globals.IdField, globals.ScopeField, globals.ScopeIdField, globals.AuthorizedActionsField},
}},
},
},
{
name: "grants update_time, create_time",
userFunc: iam.TestUserManagedGroupGrantsFunc(t, conn, kmsCache, globals.GlobalPrefix, oidc.TestAccountFunc(t, conn, kmsCache, globals.GlobalPrefix), []iam.TestRoleGrantsRequest{
Expand Down Expand Up @@ -2173,7 +2173,6 @@ func TestOutputFields(t *testing.T) {
})
}
})

}

func userIDs(users []*iam.User) []string {
Expand Down
3 changes: 3 additions & 0 deletions internal/daemon/controller/handlers/testing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package handlers

import (
Expand Down

0 comments on commit 59426ba

Please sign in to comment.