opengeospatial / ets-sta10

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

Timestamps should not be quoted in URLs #10

Closed hylkevds closed 8 years ago

hylkevds commented 8 years ago

In Capability3Tests.readEntitiesWithFilterQO() the test calls for instance /HistoricalLocations?$filter=time lt '2015-10-14T21:30:00.104Z' But times are specified to not have single quotes around them. Single quotes denote string literals, but comparing times as string literals is impossible due to timezones.

The same goes for the observation result in the same test. The inserted observations have numeric values, but the filter tests compare them with a string literal.