From dbca31145c21aa3ab6117cded84daa50b9c64784 Mon Sep 17 00:00:00 2001 From: Taesu <166604494+bytaesu@users.noreply.github.com> Date: Thu, 15 Oct 2026 06:20:29 +0900 Subject: [PATCH] test: fix test names in bearer and organization (#11768) --- packages/better-auth/src/plugins/bearer/bearer.test.ts | 2 +- .../src/plugins/organization/routes/crud-members.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/better-auth/src/plugins/bearer/bearer.test.ts b/packages/better-auth/src/plugins/bearer/bearer.test.ts index 23c705933f..bee966832e 100644 --- a/packages/better-auth/src/plugins/bearer/bearer.test.ts +++ b/packages/better-auth/src/plugins/bearer/bearer.test.ts @@ -53,7 +53,7 @@ describe("bearer", async () => { expect(session?.session).toBeDefined(); }); - it("should work with ", async () => { + it("should work with an unsigned token", async () => { const session = await client.getSession({ fetchOptions: { headers: { diff --git a/packages/better-auth/src/plugins/organization/routes/crud-members.test.ts b/packages/better-auth/src/plugins/organization/routes/crud-members.test.ts index c52938199a..759ad6ea8b 100644 --- a/packages/better-auth/src/plugins/organization/routes/crud-members.test.ts +++ b/packages/better-auth/src/plugins/organization/routes/crud-members.test.ts @@ -424,7 +424,7 @@ describe("updateMemberRole", async () => { expect(updatedMember.data?.role).toBe("admin"); }); - it("should not update the member role if the member updating is not a member ", async () => { + it("should not update the member role if the member updating is not a member", async () => { const { headers, user } = await signInWithTestUser(); const client = createAuthClient({ plugins: [organizationClient()],