morukele / paystack-rs

A Rust wrapper for the Paystack API
https://crates.io/crates/paystack-rs
MIT License
14 stars 5 forks source link

Improve the charge test #35

Open morukele opened 10 months ago

morukele commented 10 months ago

At the moment, the test in the test/api/charge.rs file has hard-coded values. These values are directly retired from my Paystack integration. This is not an ideal solution because if someone uses their own API key, the tests will fail.

To fix this issue, you would need to figure out a way to retrieve those values from the integration so that they will not be hard coded.

If you are interested in fixing this, please indicate and take a short at it.

morukele commented 10 months ago

@Lilit0x Interested in giving this issue a shot?

Lilit0x commented 10 months ago

Hi there. Let me take a look at it, I won't be able to work on it till the weekend, though.

morukele commented 10 months ago

Alright, let me know what you come up with. Take as much time as you need.