nginx-proxy-manager-zh/backend/internal/config/vars_test.go
2023-07-31 13:49:11 +10:00

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())
}