This commit is contained in:
parent
2f053f3f82
commit
2d42e586a8
|
@ -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.
|
|
@ -703,7 +703,7 @@ class RefreshAuthTests(unittest.HomeserverTestCase):
|
||||||
login_response1 = self.make_request(
|
login_response1 = self.make_request(
|
||||||
"POST",
|
"POST",
|
||||||
"/_matrix/client/r0/login",
|
"/_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.assertEqual(login_response1.code, 200, login_response1.result)
|
||||||
self.assertApproximates(
|
self.assertApproximates(
|
||||||
|
|
Loading…
Reference in New Issue