Distinguish custom values in tests

This helps to ensure that the correct value is stored in the correct
setting.

Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
This commit is contained in:
justusbunsi 2023-12-15 20:46:21 +01:00
parent 141cf08a03
commit bf35498673
No known key found for this signature in database
GPG key ID: 26C8313BA763E7E5
3 changed files with 12 additions and 12 deletions

View file

@ -34,12 +34,12 @@ tests:
set:
redis-cluster:
enabled: false
gitea.config.cache.ADAPTER: custom-value
gitea.config.cache.HOST: custom-value
gitea.config.cache.ADAPTER: custom-adapter
gitea.config.cache.HOST: custom-host
asserts:
- documentIndex: 0
equal:
path: stringData.cache
value: |-
ADAPTER=custom-value
HOST=custom-value
ADAPTER=custom-adapter
HOST=custom-host

View file

@ -34,12 +34,12 @@ tests:
set:
redis-cluster:
enabled: false
gitea.config.queue.TYPE: custom-value
gitea.config.queue.CONN_STR: custom-value
gitea.config.queue.TYPE: custom-type
gitea.config.queue.CONN_STR: custom-connection-string
asserts:
- documentIndex: 0
equal:
path: stringData.queue
value: |-
CONN_STR=custom-value
TYPE=custom-value
CONN_STR=custom-connection-string
TYPE=custom-type

View file

@ -34,12 +34,12 @@ tests:
set:
redis-cluster:
enabled: false
gitea.config.session.PROVIDER: custom-value
gitea.config.session.PROVIDER_CONFIG: custom-value
gitea.config.session.PROVIDER: custom-provider
gitea.config.session.PROVIDER_CONFIG: custom-provider-config
asserts:
- documentIndex: 0
equal:
path: stringData.session
value: |-
PROVIDER=custom-value
PROVIDER_CONFIG=custom-value
PROVIDER=custom-provider
PROVIDER_CONFIG=custom-provider-config