You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observe this behavior empirically, and the relevant code looks correct, but I don't find any unit tests covering it. My first thought is, call the From* methods of accesstokens.Client, verify the scopes with a fake urlFormCaller. It would be nice to test this at the application level instead, say with a fake HTTP client, but faking everything else necessary to make that work would be more complex.
The text was updated successfully, but these errors were encountered:
Originally posted by @bgavrilMS in #327 (comment)
I observe this behavior empirically, and the relevant code looks correct, but I don't find any unit tests covering it. My first thought is, call the
From*
methods ofaccesstokens.Client
, verify the scopes with a fakeurlFormCaller
. It would be nice to test this at the application level instead, say with a fake HTTP client, but faking everything else necessary to make that work would be more complex.The text was updated successfully, but these errors were encountered: