Closed DannyvdSluijs closed 3 months ago
Thanks for the feedback. I've added test.
One think to be cautious are the other tests that started to fail due to unsupported balance types also being in those files.
I think it also showed a different problem as the test/data/camt052.v6.xml
file had a balance with a DtTm element (In the Balance type the Dt
field is of a type DateAndDateTimeChoice
. For the mentioned file there was a DtTm
sub element which isn't supported in code resulting in the test always failing as it was doing a fallback to now when creating the DateTime
object.
For the scope of this PR I opted to correct the regression file to match the code.
Let me know what you think and if any changes are needed.
Thank you !
This PR solves #156