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

Conversation

sosyz
Copy link
Member

@sosyz sosyz commented Jul 31, 2024

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 codeContent

Fixes #1059

Feel free to let me know if you need any further adjustments!

@sy-records sy-records changed the base branch from main to dev July 31, 2024 05:03
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 `skip_validation_latest_code` parameters. This change ensures that the `VerifyCode` function can properly handle the updated code format.
@sy-records sy-records force-pushed the Sonui/fix_test_case_07_31_2024 branch from 8d5e1df to d16d9bd Compare July 31, 2024 05:03
@sy-records sy-records requested a review from LinkinStars July 31, 2024 05:05
@LinkinStars LinkinStars merged commit a4830a4 into apache:dev Jul 31, 2024
@LinkinStars
Copy link
Member

Thank you for your contribution. 👍

@sosyz
Copy link
Member Author

sosyz commented Jul 31, 2024

Thank you for your contribution. 👍

Thank you for your positive feedback! I'm glad to contribute to this project.

@sosyz sosyz deleted the Sonui/fix_test_case_07_31_2024 branch July 31, 2024 14:23
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.

Parameter error in VerifyCode Test Case

3 participants