diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-02-11 12:06:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 12:06:02 +0000 |
commit | c3db7a0b59d48b8872bc24096f9a2467ef35f703 (patch) | |
tree | 85d0d137579d9258ff724fbb4f1e74bd02d14454 /changelog.d | |
parent | Support the stable API endpoint for MSC3283: new settings in `/capabilities` ... (diff) | |
download | synapse-c3db7a0b59d48b8872bc24096f9a2467ef35f703.tar.xz |
Tests: replace mocked Authenticator with the real thing (#11913)
If we prepopulate the test homeserver with a key for a remote homeserver, we can make federation requests to it without having to stub out the authenticator. This has two advantages: * means that what we are testing is closer to reality (ie, we now have complete tests for the incoming-request-authorisation flow) * some tests require that other objects be signed by the remote server (eg, the event in `/send_join`), and doing that would require a whole separate set of mocking out. It's much simpler just to use real keys.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/11913.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11913.misc b/changelog.d/11913.misc new file mode 100644 index 0000000000..cb70560364 --- /dev/null +++ b/changelog.d/11913.misc @@ -0,0 +1 @@ +Tests: replace mocked `Authenticator` with the real thing. |