From b1eb8b81f875f2b9f7b38239f91bd0c716f86eb3 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 23 Dec 2021 15:40:24 +0100 Subject: Add a field with values to some test collections --- tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml | 1 + tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml | 1 + tests/data/complex/settings.yaml | 7 +++++++ tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml | 1 + tests/data/wrong/settings.yaml | 6 ++++++ 5 files changed, 16 insertions(+) (limited to 'tests/data') 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 -- cgit v1.2.3