Skip to content

Commit

Permalink
pam: Move pam_test into internal packages
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Jan 15, 2024
1 parent 39f81d7 commit 28fbafb
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pam/internal/gdm/conversation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/msteinert/pam/v2"
"github.com/stretchr/testify/require"
"github.com/ubuntu/authd/pam/pam_test"
"github.com/ubuntu/authd/pam/internal/pam_test"
)

func TestSendToGdm(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pam/internal/gdm/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/msteinert/pam/v2"
"github.com/stretchr/testify/require"
"github.com/ubuntu/authd/pam/pam_test"
"github.com/ubuntu/authd/pam/internal/pam_test"
)

func TestMain(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pam/main-cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/msteinert/pam/v2"
"github.com/sirupsen/logrus"
"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/pam/pam_test"
"github.com/ubuntu/authd/pam/internal/pam_test"
)

// Simulating pam on the CLI for manual testing.
Expand Down

0 comments on commit 28fbafb

Please sign in to comment.