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.
This commit is contained in:
Jose Diaz-Gonzalez
2022-02-26 03:19:03 -05:00
parent ac58b502c5
commit d5a3527059

View File

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