Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests for unsubscribe use case #10

Open
matheusmosca opened this issue Sep 12, 2021 · 1 comment · May be fixed by #36
Open

Add unit tests for unsubscribe use case #10

matheusmosca opened this issue Sep 12, 2021 · 1 comment · May be fixed by #36
Assignees

Comments

@matheusmosca
Copy link
Owner

The file is in here: unsubscribe.go

Steps:

  1. Create a file unsubscribe_test.go in the same directory
  2. Create a mock for the repository interface. I recommend using matryer/moq for it, but suggestions are welcome
  3. Start testing! 🚦
@matheusmosca matheusmosca changed the title Add unit tests for unsubscribe use case Add unit tests for unsubscribe use case 🚦 Sep 12, 2021
@matheusmosca matheusmosca changed the title Add unit tests for unsubscribe use case 🚦 Add unit tests for unsubscribe use case Sep 20, 2021
@MelloTonio
Copy link

Can i take this?

@matheusmosca matheusmosca linked a pull request Oct 5, 2021 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants