sosyz opened a new issue, #1059: URL: https://github.com/apache/incubator-answer/issues/1059
## Describe the bug The test code in [the line](https://github.com/apache/incubator-answer/blob/4692420e5ff366f7d7e0d5d14a2afab1527cbd0b/internal/repo/repo_test/email_repo_test.go#L34) 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: 1. Navigate to `internal/repo/repo_test/email_repo_test.go` 2. 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. <img width="1330" alt="image" src="https://github.com/user-attachments/assets/1aa3e44e-242b-4a54-85d5-6ae562a75eb9"> ### Additional Information I can create a pull request to fix this issue if needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
