Parameter error in VerifyCode Test Case
sosyz opened this issue · 0 comments
sosyz commented
Describe the bug
The test code in the line is missing a parameter.
The function definition is:
SetCode(ctx context.Context, userID, code, content string, duration time.Duration) error
To Reproduce
Steps to reproduce the behavior:
- Navigate to
internal/repo/repo_test/email_repo_test.go
- Check line 34.
Expected behavior
Add a userID
parameter and update the content var accordingly. The content variable needs to be updated because "test" cannot be parsed in the new version.
Additional Information
I can create a pull request to fix this issue if needed.