Skip to content

Commit e9281d3

Browse files
Updates GHE test
1 parent cb654cd commit e9281d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/sentry/middleware/integrations/parsers/test_github_enterprise.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ def test_installation_hook_handled_in_control(self) -> None:
123123
self.path,
124124
data={"installation": {"id": self.external_identifier}, "action": "created"},
125125
content_type="application/json",
126+
headers={
127+
"X-GITHUB-EVENT": "installation",
128+
},
126129
HTTP_X_GITHUB_ENTERPRISE_HOST=self.external_host,
127130
)
128131
parser = GithubEnterpriseRequestParser(request=request, response_handler=self.get_response)

0 commit comments

Comments
 (0)