mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 21:28:15 -05:00
15 lines
232 B
Go
15 lines
232 B
Go
|
package config
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestAcmeshGetWellknown(t *testing.T) {
|
||
|
a := acmesh{
|
||
|
Home: "/data/.acme.sh",
|
||
|
}
|
||
|
assert.Equal(t, "/data/.acme.sh/.well-known", a.GetWellknown())
|
||
|
}
|