From a96b3e1f7acac3cc7bd0ae74be411e97fc27912c Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 9 Feb 2020 17:43:29 +0100 Subject: Simple fixes to improve test coverage --- .../simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml | 3 +++ tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml | 2 ++ tests/data/simple/settings.yaml | 10 +++++++++- 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'tests/data/simple') diff --git a/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml b/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml index 0abc78d..99431b1 100644 --- a/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml +++ b/tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml @@ -3,4 +3,7 @@ description: | This is a long block of text that spans multiple lines. position: somewhere +quantity: 2 +value: 0.8 +cost: 1.99 eid: 085682ed6792499da3ab9aebd683c011 diff --git a/tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml b/tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml index 7a0f5d7..d64a7c2 100644 --- a/tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml +++ b/tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml @@ -2,4 +2,6 @@ name: 'Mostly empty entry' description: position: quantity: +amount: +price: other: diff --git a/tests/data/simple/settings.yaml b/tests/data/simple/settings.yaml index ad68fe3..1852665 100644 --- a/tests/data/simple/settings.yaml +++ b/tests/data/simple/settings.yaml @@ -9,11 +9,19 @@ fields: index: free - name: position type: string - index: facet + index: field - name: quantity type: integer index: no help: 'how many items are there' + - name: value + type: float + index: no + help: 'how much each item is' + - name: cost + type: decimal + index: no + help: 'how much this costs' - name: other type: yaml help: '' -- cgit v1.2.3