mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
Add more unit tests
This commit is contained in:
14
backend/internal/config/vars_test.go
Normal file
14
backend/internal/config/vars_test.go
Normal file
@ -0,0 +1,14 @@
|
||||
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())
|
||||
}
|
Reference in New Issue
Block a user