mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
test: fix test attempting signin before signup
This commit is contained in:
@@ -1054,16 +1054,7 @@ describe("organization", async (it) => {
|
||||
},
|
||||
});
|
||||
if (!invite.data) throw new Error("Invitation not created");
|
||||
await client.signUp.email({
|
||||
email: userOverLimit.email,
|
||||
password: userOverLimit.password,
|
||||
name: userOverLimit.name,
|
||||
});
|
||||
const { headers: headers2 } = await signInWithUser(
|
||||
userOverLimit2.email,
|
||||
userOverLimit2.password,
|
||||
);
|
||||
|
||||
const headers2 = new Headers();
|
||||
await client.signUp.email(
|
||||
{
|
||||
email: userOverLimit2.email,
|
||||
|
||||
Reference in New Issue
Block a user