Skip to content

Commit

Permalink
fix: added unit tests for pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonhayes committed Mar 25, 2023
1 parent a510637 commit 8c19316
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions charts/arma-reforger/tests/pvc_test.yaml
@@ -0,0 +1,22 @@
suite: test reforger pvc
templates:
- pvc.yaml
tests:
- it: should render two persistent volume claims
set:
persistence.data.enabled: true
persistence.profile.enabled: true
asserts:
- isKind:
of: PersistentVolumeClaim
- hasDocuments:
count: 2
- it: should render one persistent volume claims
set:
persistence.data.enabled: true
persistence.profile.enabled: false
asserts:
- isKind:
of: PersistentVolumeClaim
- hasDocuments:
count: 1

0 comments on commit 8c19316

Please sign in to comment.