aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-03 22:29:02 +0100
committerGravatar Joe Banks <[email protected]>2024-07-03 22:29:02 +0100
commit52d4c3d7060f25c8adc3829cbe947d59e0222929 (patch)
tree5a3c27672a0c885932a6d2c1673c15d842c849e9 /src
parentExplicitly tag PyDis messages for integrity (diff)
Update tests with new OAuth2 message parameters
Diffstat (limited to 'src')
-rw-r--r--src/tests/pages/CallbackPage.test.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/pages/CallbackPage.test.tsx b/src/tests/pages/CallbackPage.test.tsx
index d251772..a2fc780 100644
--- a/src/tests/pages/CallbackPage.test.tsx
+++ b/src/tests/pages/CallbackPage.test.tsx
@@ -18,6 +18,7 @@ test("callback page sends provided code", () => {
expect(global.opener.postMessage).toBeCalledTimes(1);
expect(global.opener.postMessage).toBeCalledWith({
code: "abcde_code",
- state: "abcde_state"
+ state: "abcde_state",
+ pydis_source: "oauth2_callback"
});
});