mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
tests: Refactor use of test and webhook data fixtures.
This commit is contained in:
committed by
Tim Abbott
parent
76d6c71595
commit
e168f9938c
@@ -153,4 +153,4 @@ class OpsGenieHookTests(WebhookTestCase):
|
||||
content_type="application/x-www-form-urlencoded")
|
||||
|
||||
def get_body(self, fixture_name: Text) -> Text:
|
||||
return self.fixture_data("opsgenie", fixture_name, file_type="json")
|
||||
return self.webhook_fixture_data("opsgenie", fixture_name, file_type="json")
|
||||
|
||||
Reference in New Issue
Block a user