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 Jan 6, 2025
1 parent c0c3712 commit 86d7dc6
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 @@ -854,7 +854,7 @@ func TestMain(m *testing.M) {
os.Exit(m.Run())
}

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

cleanup, err := setupGlobalBrokerMock()
if err != nil {
Expand Down

0 comments on commit 86d7dc6

Please sign in to comment.