mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-02 02:21:19 +01:00
Add more unit tests
This commit is contained in:
6 files changed
+166
-79
No files matched your search
@@ -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