Skip to content

Commit

Permalink
sca fix for api org test (#14811)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored Apr 17, 2024
1 parent 95f7884 commit e5f32e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/api/test_organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit e5f32e5

Please sign in to comment.