mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
webhook tests: Remove needless get_body functions.
These all did essentially what the parent implementation does, except for checking that it's valid json.
This commit is contained in:
@@ -34,6 +34,3 @@ class GocdHookTests(WebhookTestCase):
|
||||
expected_message,
|
||||
content_type="application/x-www-form-urlencoded",
|
||||
)
|
||||
|
||||
def get_body(self, fixture_name: str) -> str:
|
||||
return self.webhook_fixture_data("gocd", fixture_name, file_type="json")
|
||||
|
||||
Reference in New Issue
Block a user