mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
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:
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" } },
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user