Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 2d42e58

Browse files
authored
Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)
1 parent 2f053f3 commit 2d42e58

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/11522.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Stabilise support for [MSC2918](https://github.com/matrix-org/matrix-doc/blob/main/proposals/2918-refreshtokens.md#msc2918-refresh-tokens) refresh tokens as they have now been merged into the Matrix specification.

tests/rest/client/test_auth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ def test_different_expiry_for_refreshable_and_nonrefreshable_access_tokens(self)
703703
login_response1 = self.make_request(
704704
"POST",
705705
"/_matrix/client/r0/login",
706-
{"org.matrix.msc2918.refresh_token": True, **body},
706+
{"refresh_token": True, **body},
707707
)
708708
self.assertEqual(login_response1.code, 200, login_response1.result)
709709
self.assertApproximates(

0 commit comments

Comments
 (0)