mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 23:53:17 -05:00
test: fix test names in bearer and organization (#11768)
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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()],
|
||||
|
||||
Reference in New Issue
Block a user