-
Notifications
You must be signed in to change notification settings - Fork 431
Description
Describe the bug
A clear and concise description of what the bug is.
The current unit tests of Java doesn't validate correctly the spec structure for each model type. For example the DateParser.json specs, contains start property which is not validated in the DateTimeTest.java causing false positives.
To Reproduce
Steps to reproduce the behavior:
- Go to DateTimeTest
- See the structure that validates the assertResultsDateTime method
- Compare the validated structure with the DateParser.json specs
- See that not all the properties are validated
Expected behavior
A clear and concise description of what you expected to happen.
All the models should be correctly validated, checking the correct properties against to the specs.
Sample input/output
As applicable, add examples of text input and json output to help explain the problem.
-
Platform (please complete the following information):
- Platform: Java
Additional context
Add any other context about the problem here.
See discussion of the PR #2461 as the NumberTest was updated to cover the end and start properties.