mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
Use form POST data for beanstalk and add shim for incorrectly-encoded emails
(imported from commit b5debaa02a6a23c01aee1b2beb6fd83e70e50d65)
This commit is contained in:
@@ -2529,10 +2529,10 @@ class BeanstalkHookTests(AuthedTestCase):
|
||||
def send_beanstalk_message(self, action):
|
||||
email = "hamlet@humbughq.com"
|
||||
api_key = self.get_api_key(email)
|
||||
data = {'payload': self.fixture_jsondata('beanstalk', action)}
|
||||
return self.send_json_payload(email, "/api/v1/external/beanstalk",
|
||||
self.fixture_jsondata('beanstalk', action),
|
||||
data,
|
||||
stream_name="commits",
|
||||
content_type="application/json",
|
||||
HTTP_AUTHORIZATION=self.http_auth(email, api_key))
|
||||
|
||||
def test_git_single(self):
|
||||
|
||||
Reference in New Issue
Block a user