summaryrefslogtreecommitdiff
path: root/tests/data/wrong
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-08-17 22:27:53 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-08-17 22:27:53 +0200
commitb368e0744d440cb2ba5fde8593325071b8389240 (patch)
tree6290af3826d99b6293dfed30f1cc0d56d59f606b /tests/data/wrong
parentd4d1b774cd487afaeaf3dee9f9c22e8261503c08 (diff)
Start validating entries before indexing them.
Diffstat (limited to 'tests/data/wrong')
-rw-r--r--tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml5
-rw-r--r--tests/data/wrong/settings.yaml3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml
new file mode 100644
index 0000000..ec44b7c
--- /dev/null
+++ b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml
@@ -0,0 +1,5 @@
+name: 'Problematic entry'
+description: |
+ .
+position: 'somewhere'
+number: 'four'
diff --git a/tests/data/wrong/settings.yaml b/tests/data/wrong/settings.yaml
index 9871421..ef9ab74 100644
--- a/tests/data/wrong/settings.yaml
+++ b/tests/data/wrong/settings.yaml
@@ -9,3 +9,6 @@ fields:
- name: position
type: string
index: facet
+ - name: number
+ type: integer
+ help: "Enter an integer here"