From 98f391c8a0d6487ebe2bc4ee170edb107f174cea Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Thu, 5 Aug 2021 14:34:29 +0200 Subject: [PATCH] Add test to check that the Postgres subchart isn't rendered in external DB mode --- .../postgresql_helmchart_not_rendered_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/external/postgresql_helmchart_not_rendered_test.go diff --git a/tests/external/postgresql_helmchart_not_rendered_test.go b/tests/external/postgresql_helmchart_not_rendered_test.go new file mode 100644 index 00000000..52155c19 --- /dev/null +++ b/tests/external/postgresql_helmchart_not_rendered_test.go @@ -0,0 +1,12 @@ +package external + +import ( + "testing" + + "github.com/stretchr/testify/require" +) + +func Test_Postgresql_Helmchart_Not_Rendered(t *testing.T) { + subChartDir := testPath+"/01_keycloak_helmchart/keycloak/charts" + require.NoDirExists(t, subChartDir) +}