Skip to content

Commit

Permalink
align tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Oct 23, 2023
1 parent d73e48c commit ac6af4a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions helm/alfresco-content-services/tests/search_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ tests:
enabled: false
alfresco-search-enterprise:
enabled: true
elasticsearch:
enabled: true
template: config-infrastructure.yaml
asserts:
- equal:
Expand All @@ -89,10 +91,25 @@ tests:
- it: should not render a secret render property with default credentials
values: *testvalues
set:
global:
search:
securecomms: none
alfresco-search:
enabled: false
alfresco-search-enterprise:
enabled: false
asserts:
- hasDocuments:
count: 0
template: secret-search.yaml
- it: Should complain on missing search index
values: *testvalues
set:
alfresco-search:
enabled: false
alfresco-search-enterprise:
enabled: true
template: config-infrastructure.yaml
asserts:
- failedTemplate:
errorMessage: >-
Chart is configured to use Alfresco Search Enterprise but no index
backend has been provided. Set one using either global.search.url
or elasticsearch.enabled

0 comments on commit ac6af4a

Please sign in to comment.