Closed ccaneke closed 8 months ago
The unit test for the provider github.com/markbates/goth/providers/vk
is failing. It looks like a simple fix. Can I fix it myself or would you prefer the author fixes it?
Edit: My apologies, it was the unit test for wechat that was failing.
@ccaneke If you are able to fix it that would be appreciated. Thanks 🙏 Feel free to do it in this PR or another
@ccaneke If you are able to fix it that would be appreciated. Thanks 🙏 Feel free to do it in this PR or another
I fixed the failing wechat test. All tests should now pass. For some reason, the assertion a.Equal
mixed up the expected and actual results. So I swapped them.
@techknowlogick please can you take a look at the latest error. It says:
Error: providers/reddit/reddit.go:108:15: undefined: io.ReadAll
I'm not sure why this is happening.
I'm not sure why this is happening.
It's likely due to go1.15 not having the functions in io, but still having them in io/ioutil. A deprecation may be needed of go 1.15, but testing this locally it works so I'll merge it.
Thanks again for the PR, plus also a thanks for fixing the unrelated tests :)
I'm not sure why this is happening.
It's likely due to go1.15 not having the functions in io, but still having them in io/ioutil. A deprecation may be needed of go 1.15, but testing this locally it works so I'll merge it.
Thanks again for the PR, plus also a thanks for fixing the unrelated tests :)
Thanks for explaining, that makes perfect sense, ioutils functions recently got moved to io.
My pleasure, I hope to contribute more in anyway I can.
It seems like the README got never updated to include Reddit in the Providers list? Or is it not functional at this moment?
Information on reddit oauth2 can be found here.