diff --git a/src/test/helm/deployment_features_test.yaml b/src/test/helm/deployment_features_test.yaml index b0f29d2d6c6ed3f1e0cf54027dc940e6c43619d7..9e02c58d077d05b1f50bc15e8a701a36e6c4ac6f 100644 --- a/src/test/helm/deployment_features_test.yaml +++ b/src/test/helm/deployment_features_test.yaml @@ -53,13 +53,13 @@ tests: content: name: ozgcloud_feature_organisationsEinheiten any: true - - it: should set (optional) feature properties + - it: should set (optional) feature properties to true set: ozgcloud: feature: - postfach: true - benutzerRollen: true - organisationsEinheiten: true + postfach: "true" + benutzerRollen: "true" + organisationsEinheiten: "true" asserts: - contains: path: spec.template.spec.containers[0].env @@ -75,4 +75,27 @@ tests: path: spec.template.spec.containers[0].env content: name: ozgcloud_feature_organisationsEinheiten - value: "true" \ No newline at end of file + value: "true" + - it: should set (optional) feature properties to false + set: + ozgcloud: + feature: + postfach: "false" + benutzerRollen: "false" + organisationsEinheiten: "false" + asserts: + - contains: + path: spec.template.spec.containers[0].env + content: + name: ozgcloud_feature_postfach + value: "false" + - contains: + path: spec.template.spec.containers[0].env + content: + name: ozgcloud_feature_benutzerRollen + value: "false" + - contains: + path: spec.template.spec.containers[0].env + content: + name: ozgcloud_feature_organisationsEinheiten + value: "false" \ No newline at end of file