summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-23 15:40:24 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-23 15:40:24 +0100
commitb1eb8b81f875f2b9f7b38239f91bd0c716f86eb3 (patch)
tree0ebd689308a3938b9148b8fd0e420cc3de532086 /tests/data
parenta7102f127d64a13d555d2085db84ae349532b499 (diff)
Add a field with values to some test collections
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml1
-rw-r--r--tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml1
-rw-r--r--tests/data/complex/settings.yaml7
-rw-r--r--tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml1
-rw-r--r--tests/data/wrong/settings.yaml6
5 files changed, 16 insertions, 0 deletions
diff --git a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
index 3132884..c0d6e90 100644
--- a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
+++ b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
@@ -17,4 +17,5 @@ created:
updated:
epoch:
version: 0
+category: first
# and a comment at the end
diff --git a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
index 690b680..0580675 100644
--- a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
+++ b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
@@ -15,3 +15,4 @@ created:
updated:
epoch:
version: 2
+category: first
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
index 671a9b0..b85e2a2 100644
--- a/tests/data/complex/settings.yaml
+++ b/tests/data/complex/settings.yaml
@@ -53,3 +53,10 @@ fields:
type: integer
auto: increment
increment: 2
+ - name: category
+ type: string
+ values:
+ - first
+ - second
+ - third
+ index: field
diff --git a/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml
index 1fa0c74..371b9a0 100644
--- a/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml
+++ b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml
@@ -6,3 +6,4 @@ number: 'four'
float: 'half and a bit'
price: 'cheap'
things:
+category: 'fourth'
diff --git a/tests/data/wrong/settings.yaml b/tests/data/wrong/settings.yaml
index bf79572..6b3a3bb 100644
--- a/tests/data/wrong/settings.yaml
+++ b/tests/data/wrong/settings.yaml
@@ -26,3 +26,9 @@ fields:
- name: cloud
type: cloud
help: 'There is no cloud type'
+ - name: category
+ type: string
+ values:
+ - first
+ - second
+ - third