瀏覽代碼

Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)

tags/v1.49.0rc1
reivilibre 2 年之前
committed by GitHub
父節點
當前提交
2d42e586a8
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      changelog.d/11522.feature
  2. +1
    -1
      tests/rest/client/test_auth.py

+ 1
- 0
changelog.d/11522.feature 查看文件

@@ -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.

+ 1
- 1
tests/rest/client/test_auth.py 查看文件

@@ -703,7 +703,7 @@ class RefreshAuthTests(unittest.HomeserverTestCase):
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(


Loading…
取消
儲存