sosyz opened a new pull request, #1060: URL: https://github.com/apache/incubator-answer/pull/1060
This commit updates the `Test_emailRepo_VerifyCode` function in the `email_repo_test.go` file. It adds support for additional parameters in the `SetCode` function call, specifically the `user_id` and `content` parameters. This change ensures that the `VerifyCode` function can properly test the updated code format. The `content` parameter is obtained from the activation link after deployment and can be debugged as shown [here](https://github.com/apache/incubator-answer/blob/1431cdd73cff9b35d0349f8be080701ee00d420a/internal/service/export/email_service.go#L101) `codeContent` Fixes #1059 Feel free to let me know if you need any further adjustments! -- 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]
