2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 04:22:33 +08:00

fix: test

This commit is contained in:
2025-03-29 15:04:00 +08:00
parent 7a22469fb1
commit 2b1e21ba4b

View File

@@ -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{