adapt JSON parsing in tests to allow for omitted fields

This commit is contained in:
Dennis Luxen
2014-05-16 16:13:25 +02:00
parent a80815d57a
commit 2d498cb88b
2 changed files with 38 additions and 34 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ Feature: Status messages
| nodes |
| ab |
| cd |
When I route I should get
| from | to | route | status | message |
| a | b | ab | 0 | Found route between points |
@@ -64,4 +64,4 @@ Feature: Status messages
| viaroute/loc=1,1&loc=1,1 | 400 | Query string malformed close to position 9 |
| viaroute/loc=1,1&loc=1,1,1 | 400 | Query string malformed close to position 9 |
| viaroute/loc=1,1&loc=x | 400 | Query string malformed close to position 9 |
| viaroute/loc=1,1&loc=x,y | 400 | Query string malformed close to position 9 |
| viaroute/loc=1,1&loc=x,y | 400 | Query string malformed close to position 9 |