From 2b1e21ba4b9df2a6fda42ebe24b59f8aba3b43f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 29 Mar 2025 15:04:00 +0800 Subject: [PATCH] fix: test --- pkg/acme/client_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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{