diff --git a/tests/foreman/cli/test_repository.py b/tests/foreman/cli/test_repository.py index 7fa04769b13..8af2bc44927 100644 --- a/tests/foreman/cli/test_repository.py +++ b/tests/foreman/cli/test_repository.py @@ -1974,8 +1974,7 @@ def test_positive_accessible_content_status( :CaseImportance: Critical """ - rhel7_contenthost.install_katello_ca(target_sat) - rhel7_contenthost.register_contenthost(module_org.label, module_ak_with_synced_repo['name']) + rhel7_contenthost.register(module_org, None, module_ak_with_synced_repo['name'], target_sat) assert rhel7_contenthost.subscribed rhel7_contenthost.run('yum repolist') access_log = target_sat.execute(