opengeospatial / ets-sta10

Repository for the Executable Test Suite for OGC Sensor Things API
Other
6 stars 8 forks source link

Test fails if server returns numeric results as numeric #22

Closed hylkevds closed 7 years ago

hylkevds commented 7 years ago

Currently the tests fail on a java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String when the server returns the numeric observation result values as numeric.

The values put into the server are numeric, but the value tested against (from EntityPropertiesSampleValue) is a String.

This is related to https://github.com/opengeospatial/ets-sta10/issues/14
This was broken in https://github.com/opengeospatial/ets-sta10/commit/bff4a62e956ed7a76c400fd8733293db879225b8