diff options
| author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-02-09 17:43:29 +0100 | 
|---|---|---|
| committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-02-09 17:43:29 +0100 | 
| commit | a96b3e1f7acac3cc7bd0ae74be411e97fc27912c (patch) | |
| tree | b3fe9871463c4b74eb456260bbe415ef06efafec /tests/data/simple | |
| parent | 00148a2b195b2ca35054346825efabac81629332 (diff) | |
Simple fixes to improve test coverage
Diffstat (limited to 'tests/data/simple')
| -rw-r--r-- | tests/data/simple/items/085682ed-6792-499d-a3ab-9aebd683c011.yaml | 3 | ||||
| -rw-r--r-- | tests/data/simple/items/8b69b063b2a64db7b5714294a69255c7.yaml | 2 | ||||
| -rw-r--r-- | tests/data/simple/settings.yaml | 10 | 
3 files changed, 14 insertions, 1 deletions
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: ''  | 
