CeoFred / fast-otp

Go lang library wrapping https://fastotp.co
MIT License
11 stars 5 forks source link

Improve the Test #3

Closed LordRahl90 closed 8 months ago

LordRahl90 commented 8 months ago

This PR is designed to address the following issues:

CeoFred commented 8 months ago

I see the good work you're doing.. but Why did you decide to mock http request instead of testing against an actual server? @LordRahl90

LordRahl90 commented 8 months ago

I see the good work you're doing.. but Why did you decide to mock http request instead of testing against an actual server? @LordRahl90

I'm also using a mocked server actually.

However, to see how the library reacts to some errors, that's why I'm mocking the httpclient as well. 😄

CeoFred commented 8 months ago

@LordRahl90 epp me fixx ur merge conflicts

LordRahl90 commented 8 months ago

@LordRahl90 epp me fixx ur merge conflicts

Done with some minor additions. Eg: