There are several todo items in the UTCDateTime tests to add additional tests for out-of-range values. These referenced CDRIVER-1377, which has long been resolved (libmongoc 1.5.0).
Related files:
- bson-utcdatetime-serialization_error-002.phpt
- bson-utcdatetime-serialization_error-004.phpt
- bson-utcdatetime-set_state_error-002.phpt
- bson-utcdatetime_error-003.phpt
I came across this while updating tests for PHPC-1849.
- depends on
-
CDRIVER-1377 bson_ascii_strtoll() does not detect ERANGE errors
- Closed