We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffb54a commit 26f708dCopy full SHA for 26f708d
backend/internal/acme/acmesh_test.go
@@ -204,6 +204,12 @@ func TestGetAcmeShFilePath(t *testing.T) {
204
205
func TestGetCommonEnvVars(t *testing.T) {
206
t.Run("basic test", func(t *testing.T) {
207
+ t.Setenv("ACMESH_CONFIG_HOME", "/data/.acme.sh/config")
208
+ t.Setenv("ACMESH_HOME", "/data/.acme.sh")
209
+ t.Setenv("CERT_HOME", "/data/.acme.sh/certs")
210
+ t.Setenv("LE_CONFIG_HOME", "/data/.acme.sh/config")
211
+ t.Setenv("LE_WORKING_DIR", "/data/.acme.sh")
212
+
213
expected := []string{
214
"ACMESH_CONFIG_HOME=/data/.acme.sh/config",
215
"ACMESH_HOME=/data/.acme.sh",
0 commit comments