diff --git a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml index a8700be00a..bf2e1101ab 100644 --- a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml +++ b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml @@ -21,6 +21,16 @@ tests: - failedTemplate: errorMessage: must be defined, alternatively use the flag. + - it: should fail with empty mountPath set + set: + persistence: + vol1: + enabled: true + mountPath: + asserts: + - failedTemplate: + errorMessage: must be defined, alternatively use the flag. + - it: should pass with enabled false documentIndex: *deploymentDoc set: