summary refs log tree commit diff
path: root/tests/handlers/test_profile.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-12-03 10:02:47 +0000
committerGitHub <noreply@github.com>2020-12-03 10:02:47 +0000
commit66f75c5b74196c624af6a39d824c93b4a37d63c2 (patch)
tree6a57f03750897cf5b97d8188e497f54ce104581c /tests/handlers/test_profile.py
parentMerge pull request #8858 from matrix-org/rav/sso_uia (diff)
parentMerge remote-tracking branch 'origin/develop' into rav/remove_unused_mocks (diff)
downloadsynapse-66f75c5b74196c624af6a39d824c93b4a37d63c2.tar.xz
Merge pull request #8861 from matrix-org/rav/remove_unused_mocks
Remove some unnecessary mocking from the unit tests
Diffstat (limited to 'tests/handlers/test_profile.py')
-rw-r--r--tests/handlers/test_profile.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py
index ea2bcf2655..919547556b 100644
--- a/tests/handlers/test_profile.py
+++ b/tests/handlers/test_profile.py
@@ -44,8 +44,6 @@ class ProfileTestCase(unittest.TestCase):
 
         hs = yield setup_test_homeserver(
             self.addCleanup,
-            federation_http_client=None,
-            resource_for_federation=Mock(),
             federation_client=self.mock_federation,
             federation_server=Mock(),
             federation_registry=self.mock_registry,