mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
修复一些网址
This commit is contained in:
@@ -58,7 +58,7 @@ func TestGenerate(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
myUser := &MyUser{
|
||||
Email: "test1@teaos.cn",
|
||||
Email: "test1@example.com",
|
||||
key: privateKey,
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ func TestGenerate_EAB(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
myUser := &MyUser{
|
||||
Email: "test1@teaos.cn",
|
||||
Email: "test1@example.com",
|
||||
key: privateKey,
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ func TestGenerate_EAB(t *testing.T) {
|
||||
myUser.Registration = reg
|
||||
|
||||
request := certificate.ObtainRequest{
|
||||
Domains: []string{"teaos.cn"},
|
||||
Domains: []string{"example.com"},
|
||||
Bundle: true,
|
||||
}
|
||||
certificates, err := client.Certificate.Obtain(request)
|
||||
|
||||
Reference in New Issue
Block a user