summaryrefslogtreecommitdiff
path: root/tests/data/wrong/settings.yaml
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-02-09 18:28:46 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-02-09 18:28:46 +0100
commit6a11672f9b3a0b4b48843ff5e39daae1f0e5ea89 (patch)
tree01df884ac1e3e3d3238d603b7ce26d669cb35434 /tests/data/wrong/settings.yaml
parenta96b3e1f7acac3cc7bd0ae74be411e97fc27912c (diff)
Fail validation for entries with empty list fields
Diffstat (limited to 'tests/data/wrong/settings.yaml')
-rw-r--r--tests/data/wrong/settings.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/data/wrong/settings.yaml b/tests/data/wrong/settings.yaml
index 243ab62..83a542b 100644
--- a/tests/data/wrong/settings.yaml
+++ b/tests/data/wrong/settings.yaml
@@ -1,5 +1,6 @@
name: "Lesana collection with certain errors"
lang: 'somethingish'
+entry_label: '{{ short_id }}: {{ name }} - {{ things | join("; ") }}'
fields:
- name: name
type: string
@@ -8,7 +9,7 @@ fields:
type: text
- name: position
type: string
- index: facet
+ index: field
- name: number
type: integer
help: "Enter an integer here"
@@ -18,3 +19,7 @@ fields:
- name: price
type: decimal
help: 'prices are never float!'
+ - name: things
+ type: list
+ list: string
+ index: field