adapt JSON parsing in tests to allow for omitted fields
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user