diff --git a/pkg/acme/client_test.go b/pkg/acme/client_test.go index d1f0c883..0f38c393 100644 --- a/pkg/acme/client_test.go +++ b/pkg/acme/client_test.go @@ -2,6 +2,7 @@ package acme import ( "context" + "log/slog" "testing" "github.com/stretchr/testify/suite" @@ -17,7 +18,7 @@ func TestClientTestSuite(t *testing.T) { func (s *ClientTestSuite) TestObtainSSL() { ctx := context.Background() - client, err := NewRegisterAccount(ctx, "ci@haozi.net", CALetsEncryptStaging, nil, KeyEC256) + client, err := NewRegisterAccount(ctx, "ci@haozi.net", CALetsEncryptStaging, nil, KeyEC256, slog.Default()) s.Nil(err) client.UseDns(AliYun, DNSParam{