dhiaayachi / go-newton-co

go api for newton.co bitcoin exchance
Apache License 2.0
4 stars 0 forks source link

Unit tests for several API functions are failing with 400 due to invalid query arguments #4

Closed p0mvn closed 3 years ago

p0mvn commented 3 years ago

For example,

Running the TestActions unit test returns 400 with the body of:

"{\"limit\":[\"Provided limit invalid.\"],\"start_date\":[\"Provided start and end date invalid.\"]}"

A side note: Newton probably added input validation after this API was written

The change should require modifying unit tests to provide valid inputs for all endpoints

A/C

p0mvn commented 3 years ago

I will work on this in the next couple of days

p0mvn commented 3 years ago

was fixed in #5