Skip to content

Commit 36dbbde

Browse files
committed
✅(back) fix encoded JWT used in test suite
The last pyjwt update fix an issue related to headers disorered. This fix changing the header order, the header hash is changing, so the signature is changing too. To fix this we have to update encoded JWT in our test. See jpadilla/pyjwt#721
1 parent 09176cb commit 36dbbde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/marsha/core/tests/test_api_video.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4439,11 +4439,11 @@ def test_api_video_instructor_initiate_jitsi_live_with_token(self):
44394439
"interface_config_overwrite": {},
44404440
"room_name": str(video.pk),
44414441
"token": (
4442-
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9."
4442+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9."
44434443
"eyJleHAiOjE2NTE2MjMwMDAsImlhdCI6MTY1MTYyMjQwMCwibW9kZXJhdG9yIjp0cnVl"
44444444
"LCJhdWQiOiJqaXRzaSIsImlzcyI6ImppdHNpX2FwcF9pZCIsInN1YiI6Im1lZXQuaml0"
44454445
"LnNpIiwicm9vbSI6IjI3YTIzZjUyLTMzNzktNDZhMi05NGZhLTY5N2I1OWNmZTNjNyJ9"
4446-
".LpHprY_P63wuKiIasYNev_LJmQJsPAWEfo0qz6MwoGc"
4446+
".XHsCRoAAGC4jp-hj80LGE8tNOi3V3efgPcqcXuBKHJI"
44474447
),
44484448
}
44494449
},

0 commit comments

Comments
 (0)