summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-01-02 17:50:58 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-01-02 17:50:58 +0100
commit3945aab1bc696a0a410d95ab65fddec70e9ee2f1 (patch)
treefa54a30f980523fed61edc9045bd2ee0669a0691 /tests/data
parent9a7168c0262da9a2b4a6338a5179ce644a84fb15 (diff)
When creating a new empty entry, write the fields in order
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/complex/settings.yaml16
-rw-r--r--tests/data/simple/settings.yaml2
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
new file mode 100644
index 0000000..57a1773
--- /dev/null
+++ b/tests/data/complex/settings.yaml
@@ -0,0 +1,16 @@
+name: "Fully featured lesana collection"
+lang: 'english'
+fields:
+ - name: name
+ type: string
+ prefix: S
+ index: free
+ - name: description
+ type: text
+ prefix: XD
+ index: free
+ - name: position
+ type: string
+ index: facet
+ - name: something
+ type: yaml
diff --git a/tests/data/simple/settings.yaml b/tests/data/simple/settings.yaml
index 36c4e3e..fc405a1 100644
--- a/tests/data/simple/settings.yaml
+++ b/tests/data/simple/settings.yaml
@@ -13,3 +13,5 @@ fields:
- name: quantity
type: integer
index: no
+ - name: other
+ type: yaml