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

Commit

Permalink
Fix the test breakage introduced by #11435 as a result of concurrent …
Browse files Browse the repository at this point in the history
…PRs (#11522)
  • Loading branch information
reivilibre authored Dec 7, 2021
1 parent 2f053f3 commit 2d42e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11522.feature
Original file line number Diff line number Diff line change
@@ -0,0 +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.
2 changes: 1 addition & 1 deletion tests/rest/client/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def test_different_expiry_for_refreshable_and_nonrefreshable_access_tokens(self)
login_response1 = self.make_request(
"POST",
"/_matrix/client/r0/login",
{"org.matrix.msc2918.refresh_token": True, **body},
{"refresh_token": True, **body},
)
self.assertEqual(login_response1.code, 200, login_response1.result)
self.assertApproximates(
Expand Down

0 comments on commit 2d42e58

Please sign in to comment.