Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Conversation

@guerinoni
Copy link
Contributor

With this PR I added under test auth package

Federico Guerinoni added 14 commits August 18, 2020 16:34
I create an interface for client http and for production code I just set
http.Client to do real call and for testing function I write a
MockClient with a customizable callback for every single test.

Signed-off-by: Federico Guerinoni <guerra@develer.com>
With this test I want check the return data if the POST request returns
an error.

Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
Signed-off-by: Federico Guerinoni <guerra@develer.com>
@guerinoni guerinoni requested review from pippolo84 and rsora August 20, 2020 19:53
@guerinoni guerinoni marked this pull request as ready for review August 20, 2020 19:55
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Signed-off-by: Fabio Falzoi <fabio@develer.com>
@guerinoni guerinoni merged commit 2ed6a97 into master Sep 1, 2020
@guerinoni guerinoni deleted the feature/http-mock branch September 1, 2020 15:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants