mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
fix: test
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user