Skip to content

Commit

Permalink
fix for webhook event trigger test (SatelliteQE#13170)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored Nov 28, 2023
1 parent af08e79 commit bb23504
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 bb23504

Please sign in to comment.