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:
Steve Howell
2020-08-20 18:29:32 +00:00
committed by Tim Abbott
parent 7fbe08f515
commit 6d65af1790
31 changed files with 10 additions and 96 deletions

View File

@@ -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")