openfoodfacts-go icon indicating copy to clipboard operation
openfoodfacts-go copied to clipboard

Need to mock server for unit test

Open Areontar opened this issue 4 years ago • 0 comments

There are some discrepancies between the test server and the prod server, which can lead to a test passing, but the SDK failing once implemented. We should mock the HTTP server using the new API documentation and test against it.

Areontar avatar Dec 17 '19 22:12 Areontar