From d5a3527059e08032f820460ded56114e347b2fd1 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 26 Feb 2022 03:19:03 -0500 Subject: [PATCH] test: set a dummy path for PLUGIN_ENABLED_PATH Ideally we could use this to mock out different plugin paths with test implementations of user-auth-app, but for now setting something that won't generally fail is good enough. --- plugins/common/common_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/common/common_test.go b/plugins/common/common_test.go index 4fb32ea84..3e31967e1 100644 --- a/plugins/common/common_test.go +++ b/plugins/common/common_test.go @@ -87,6 +87,7 @@ func TestCommonDokkuAppsError(t *testing.T) { func TestCommonDokkuApps(t *testing.T) { RegisterTestingT(t) + os.Setenv("PLUGIN_ENABLED_PATH", "/var/lib/dokku/plugins/enabled") Expect(setupTestApp()).To(Succeed()) apps, err := DokkuApps() Expect(err).NotTo(HaveOccurred())