VictorAvelar / mollie-api-go

Golang wrapper for Mollie's REST API with full resource coverage.
https://www.mollie.com/developers/libraries/golang
MIT License
64 stars 37 forks source link

Cover missing test cases. #355

Closed VictorAvelar closed 7 months ago

VictorAvelar commented 7 months ago

Description

To ensure the code base is covered with tests, I went through the coverage report and fixed methods and structs which were showing low coverage.

Motivation and context

We love tests, they provide a safety net and make development easier and more enjoyable.

How has this been tested?

Please describe in detail how you tested your changes.

Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc.

If you are running the tests locally, please specify:

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist

Go over all the following points, and put an x in all the boxes that apply.

Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests and code style pass.