[PR #3746] [MERGED] test: improve test case for email verification #4984

Closed
opened 2026-03-13 12:06:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3746
Author: @himself65
Created: 8/2/2025
Status: Merged
Merged: 8/6/2025
Merged by: @Bekacru

Base: canaryHead: himself65/2025/08/01/require-email-verify


📝 Commits (3)

  • 362dece test: add the test case for email verification
  • 7069de8 fixup! test: add the test case for email verification
  • 7be0be9 chore: remove changeset

📊 Changes

1 file changed (+34 additions, -11 deletions)

View changed files

📝 packages/better-auth/src/api/routes/email-verification.test.ts (+34 -11)

📄 Description

Summary by cubic

Improved the email verification test to check that users cannot update their profile before verifying their email and that email verification updates the session as expected.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3746 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/2/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `himself65/2025/08/01/require-email-verify` --- ### 📝 Commits (3) - [`362dece`](https://github.com/better-auth/better-auth/commit/362dece249460600014a458191782014c982061a) test: add the test case for email verification - [`7069de8`](https://github.com/better-auth/better-auth/commit/7069de8efbdbb405fa15e8e80c2615249d8db807) fixup! test: add the test case for email verification - [`7be0be9`](https://github.com/better-auth/better-auth/commit/7be0be9a57465c64c97e543b97d101025b20d208) chore: remove changeset ### 📊 Changes **1 file changed** (+34 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/email-verification.test.ts` (+34 -11) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Improved the email verification test to check that users cannot update their profile before verifying their email and that email verification updates the session as expected. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:06:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4984