diff --git a/tests/foreman/api/test_organization.py b/tests/foreman/api/test_organization.py index 7edc09d0dc2..295bc1142a1 100644 --- a/tests/foreman/api/test_organization.py +++ b/tests/foreman/api/test_organization.py @@ -132,7 +132,7 @@ def test_negative_create_with_same_name(self, target_sat): target_sat.api.Organization(name=name).create() @pytest.mark.tier1 - def test_negative_check_org_endpoint(self, module_entitlement_manifest_org): + def test_negative_check_org_endpoint(self, module_sca_manifest_org): """Check manifest cert is not exposed in api endpoint :id: 24130e54-cd7a-41de-ac78-6e89aebabe30 @@ -145,7 +145,7 @@ def test_negative_check_org_endpoint(self, module_entitlement_manifest_org): :CaseImportance: High """ - orgstring = json.dumps(module_entitlement_manifest_org.read_json()) + orgstring = json.dumps(module_sca_manifest_org.read_json()) assert 'BEGIN CERTIFICATE' not in orgstring assert 'BEGIN RSA PRIVATE KEY' not in orgstring