Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bosorawis committed Jan 22, 2025
1 parent 6f84e68 commit ed505d4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions internal/daemon/controller/handlers/authmethods/grants_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package authmethods_test

import (
"context"
"slices"
"testing"

"github.com/hashicorp/boundary/globals"
"github.com/hashicorp/boundary/internal/auth"
"github.com/hashicorp/boundary/internal/auth/ldap"
Expand All @@ -10,9 +16,6 @@ import (
"github.com/hashicorp/boundary/internal/authtoken"
controllerauth "github.com/hashicorp/boundary/internal/daemon/controller/auth"
"github.com/hashicorp/boundary/internal/daemon/controller/handlers"
"slices"

"testing"

"github.com/hashicorp/boundary/internal/daemon/controller/handlers/authmethods"
"github.com/hashicorp/boundary/internal/db"
Expand Down Expand Up @@ -127,13 +130,13 @@ func TestGrants_ReadActions(t *testing.T) {
// them in the global scope. Auth methods in org 1 and org 2 show up - my guess is because
// the u_anon grants allow auth methods to be read on any org.
wantIDs: []string{
//oidcGlobal.PublicId,
// oidcGlobal.PublicId,
oidcOrg1.PublicId,
oidcOrg2.PublicId,
//ldapGlobal.PublicId,
// ldapGlobal.PublicId,
ldapOrg1.PublicId,
ldapOrg2.PublicId,
//pwGlobal.PublicId,
// pwGlobal.PublicId,
pwOrg1.PublicId,
pwOrg2.PublicId,
},
Expand Down

0 comments on commit ed505d4

Please sign in to comment.