[PR #7548] [MERGED] test: fix case attempting signin before signup #7393

Closed
opened 2026-03-13 13:34:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7548
Author: @bytaesu
Created: 1/22/2026
Status: Merged
Merged: 1/22/2026
Merged by: @himself65

Base: canaryHead: 2026-01-22/test/org-test-signin-order


📝 Commits (1)

  • 50d72bc test: fix test attempting signin before signup

📊 Changes

1 file changed (+1 additions, -10 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/organization.test.ts (+1 -10)

📄 Description

Summary by cubic

Fix organization test setup by removing a sign-in attempt before user signup and initializing headers with new Headers(). Prevents failures when trying to sign in a user who doesn’t exist yet.

Written for commit 50d72bc7e0. Summary will update on new commits.


🔄 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/7548 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 1/22/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2026-01-22/test/org-test-signin-order` --- ### 📝 Commits (1) - [`50d72bc`](https://github.com/better-auth/better-auth/commit/50d72bc7e079fa5ffaf89cb609e2f6dd1d75a6b0) test: fix test attempting signin before signup ### 📊 Changes **1 file changed** (+1 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+1 -10) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fix organization test setup by removing a sign-in attempt before user signup and initializing headers with new Headers(). Prevents failures when trying to sign in a user who doesn’t exist yet. <sup>Written for commit 50d72bc7e079fa5ffaf89cb609e2f6dd1d75a6b0. Summary will update on new commits.</sup> <!-- 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 13:34:36 -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#7393