Skip to content

Commit 711ed9a

Browse files
committed
fix tests
1 parent a166563 commit 711ed9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/rtd_tests/tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def test_github_invalid_webhook(self, trigger_build):
928928
'/api/v2/webhook/github/{}/'.format(self.project.slug),
929929
{'foo': 'bar'},
930930
format='json',
931-
HTTP_X_GITHUB_EVENT='pull_request',
931+
HTTP_X_GITHUB_EVENT='issues',
932932
)
933933
self.assertEqual(resp.status_code, 200)
934934
self.assertEqual(resp.data['detail'], 'Unhandled webhook event')

0 commit comments

Comments
 (0)