morukele / paystack-rs

An open-source rust library for using the PayStack API
https://crates.io/crates/paystack-rs
MIT License
13 stars 5 forks source link

tests: transaction split endpoints integration tests #27

Closed Lilit0x closed 8 months ago

morukele commented 8 months ago

Hi @Lilit0x I see that this is a draft, keep up the good work.

morukele commented 8 months ago

@Lilit0x I wanted to inform you that I have made some changes to the SubaccountBodyBuilder, there was a problem with a field in this struct which gives an error when calling the API.

If you pull the latest version of the code, you will see the update.

morukele commented 8 months ago

@Lilit0x Tests are failing, get the latest version of the code to work with.

Lilit0x commented 8 months ago

@Lilit0x Tests are failing, get the latest version of the code to work with.

Hi there. Thanks, I will pull the code and fix the issues.

morukele commented 8 months ago

@Lilit0x still getting failed tests.

Did you use a valid paystack API key?

Lilit0x commented 8 months ago

@Lilit0x still getting failed tests.

Did you use a valid paystack API key?

Hi there, yes, I did.

Screenshot (272)

Lilit0x commented 8 months ago

Or do I have to add the key to my own actions on GitHub?

morukele commented 8 months ago

Or do I have to add the key to my own actions on GitHub?

I think you may have to. I have my own keys on GitHub actions, try adding to your actions, then let me know so I can run the tests to check.

Lilit0x commented 8 months ago

Or do I have to add the key to my own actions on GitHub?

I think you may have to. I have my own keys on GitHub actions, try adding to your actions, then let me know so I can run the tests to check.

I have added it and the remaining env variables too

Lilit0x commented 8 months ago

I ran the tests on my own fork, and they failed too. I'll try to figure out the issue and get back to you tomorrow. If I am not able to fix it by then, I don't know if you'll be willing to get on a 15 to 30 minutes call to sort it out.

morukele commented 8 months ago

It is strange that all tests pass on your local machine but not on GitHub.

No problem at all, let me know tomorrow evening and we can get on a google-meet if necessary.