test(oura): grant the workout and heartrate scopes in the callback fixture

The fixture granted the scopes Oura was asked for before workouts and
intraday heart rate joined; a full grant now names those two as well.
This commit is contained in:
Marc-André Bombeck committed 2026-10-21 21:40:06 +02:00
1 parent 211053d900
commit a9700bfa62
1 file changed
+3 -2
@@ -128,7 +128,7 @@ describe("Oura callback delivered twice", () => {
refresh_token: "oura-refresh",
expires_in: 86400,
scope:
"extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:stress",
"extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:stress extapi:workout extapi:heartrate",
}),
{ status: 200, headers: { "content-type": "application/json" } },
);
@@ -169,7 +169,8 @@ describe("Oura callback delivered twice", () => {
access_token: "oura-access",
refresh_token: "oura-refresh",
expires_in: 86400,
scope: "extapi:daily extapi:personal extapi:spo2 extapi:heart_health",
scope:
"extapi:daily extapi:personal extapi:spo2 extapi:heart_health extapi:workout extapi:heartrate",
}),
{ status: 200, headers: { "content-type": "application/json" } },
);