summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-12-11 21:06:26 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-12-11 21:06:26 +0100
commit277c063e32e52106956b570e5d965d663969c79f (patch)
tree319948df294f6800bc4f1fd4964625cdfcc3d7df /tests/data
parentad04af4812bbdebe47ce58333cc48332197e61b1 (diff)
Load some data into xapian
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml6
-rw-r--r--tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml3
-rw-r--r--tests/data/wrong/schema.yaml12
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml b/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml
new file mode 100644
index 0000000..a66bb67
--- /dev/null
+++ b/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml
@@ -0,0 +1,6 @@
+name: One Item
+description: |
+ This is a long block of test
+ that spans multiple lines.
+position: somewhere
+id: 085682ed6792499da3ab9aebd683c011
diff --git a/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml b/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml
new file mode 100644
index 0000000..e1f7fc1
--- /dev/null
+++ b/tests/data/simple/items/11189ee47ddf4796b718a483b379f976.yaml
@@ -0,0 +1,3 @@
+name: Another item
+description: with just a short description
+position: somewhere
diff --git a/tests/data/wrong/schema.yaml b/tests/data/wrong/schema.yaml
new file mode 100644
index 0000000..56031e4
--- /dev/null
+++ b/tests/data/wrong/schema.yaml
@@ -0,0 +1,12 @@
+name: "Lesana collection with certain errors"
+lang: 'somethingish'
+fields:
+ - name: name
+ type: string
+ index: free
+ - name: description
+ type: text
+ index: free
+ - name: position
+ type: string
+ index: facet