Update the format validator test.

main
KKlochko 2 years ago
parent 8f546f426f
commit 3d0e18b22d

@ -20,7 +20,9 @@ class InputStringFormatValidatorSpec extends Specification {
where: where:
command || expectedStatus command || expectedStatus
"insert indicator(id='1', type='blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true "insert indicator(id='1', type='blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
" insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00') " || false
"insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true "insert indicator(id='1', type='blood, blood', values='Good samples.', timestamp='2023-10-17 14:30:00')" || true
"readAll indicator()" || true "readAll indicator()" || true
" readAll indicator() " || false
} }
} }

Loading…
Cancel
Save