aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-20 13:24:28 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-20 13:24:28 +0200
commit299398ce87fd67a4a24074719b764ac5af300331 (patch)
treebfcf9e6f85b63dcb7522c07080147840ffd4c059 /tests/data
parent5bd4b53d619ea14cd01a2e5adbfd1f2b8992ab9c (diff)
Add the ability to set a default value for a field.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/complex/settings.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
index 440f4e9..03110f3 100644
--- a/tests/data/complex/settings.yaml
+++ b/tests/data/complex/settings.yaml
@@ -26,3 +26,8 @@ fields:
- name: exists
type: boolean
index: field
+ - name: with_default
+ type: string
+ default: 'default value'
+ - name: amount
+ type: integer