Skip to content

Commit

Permalink
Use internal log module in pam_test
Browse files Browse the repository at this point in the history
  • Loading branch information
adombeck committed Dec 5, 2024
1 parent 33a8cc4 commit 745d7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/services/pam/pam_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"errors"
"fmt"
"io"
"log/slog"
"net"
"os"
"os/user"
Expand All @@ -19,6 +18,7 @@ import (
"github.com/ubuntu/authd/internal/brokers"
"github.com/ubuntu/authd/internal/brokers/auth"
"github.com/ubuntu/authd/internal/brokers/layouts"
"github.com/ubuntu/authd/internal/log"
"github.com/ubuntu/authd/internal/proto/authd"
"github.com/ubuntu/authd/internal/services/errmessages"
"github.com/ubuntu/authd/internal/services/pam"
Expand Down Expand Up @@ -827,7 +827,7 @@ func TestMain(m *testing.M) {
os.Exit(m.Run())
}

slog.SetLogLoggerLevel(slog.LevelDebug)
log.SetLevel(log.DebugLevel)

// Start system bus mock.
busCleanup, err := testutils.StartSystemBusMock()
Expand Down

0 comments on commit 745d7c6

Please sign in to comment.