mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-20 20:26:55 -05:00
test(auth): assert provider account subject
This commit is contained in:
@@ -1122,6 +1122,7 @@ it("uses provider-scoped identity through the OAuth redirect callback", async ()
|
||||
const accounts = await client.listAccounts({ fetchOptions: { headers } });
|
||||
expect(accounts.data).toContainEqual(
|
||||
expect.objectContaining({
|
||||
accountId: "1234567890",
|
||||
issuer: "local:oauth:google",
|
||||
providerId: "google",
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user