From 52d4c3d7060f25c8adc3829cbe947d59e0222929 Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Wed, 3 Jul 2024 22:29:02 +0100
Subject: Update tests with new OAuth2 message parameters

---
 src/tests/pages/CallbackPage.test.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/tests/pages/CallbackPage.test.tsx')

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"
     });
 });
-- 
cgit v1.2.3

