Skip to content

Commit

Permalink
fix for webhook event trigger test (#13170)
Browse files Browse the repository at this point in the history
(cherry picked from commit bb23504)
  • Loading branch information
pondrejk authored and web-flow committed Nov 28, 2023
1 parent c51cedb commit cf070d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/api/test_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ def test_positive_event_triggered(self, module_org, target_sat, setting_update):
:CaseImportance: Critical
"""
hook = target_sat.api.Webhooks(
event='actions.katello.repository.sync_succeeded', http_method='GET'
event='actions.katello.repository.sync_succeeded',
http_method='GET',
target_url=settings.repos.yum_0.url,
).create()
repo = target_sat.api.Repository(
organization=module_org, content_type='yum', url=settings.repos.yum_0.url
Expand Down

0 comments on commit cf070d5

Please sign in to comment.