diff --git a/demisto_sdk/commands/validate/tests/PA_validators_test.py b/demisto_sdk/commands/validate/tests/PA_validators_test.py index 47b7d7ecbd..7f51090446 100644 --- a/demisto_sdk/commands/validate/tests/PA_validators_test.py +++ b/demisto_sdk/commands/validate/tests/PA_validators_test.py @@ -1555,7 +1555,7 @@ def test_IsValidUseCasesValidator_fix(): [], 1, [ - "The Pack HelloWorld should be deprecated, as all its content items are deprecated.\nThe name of the pack in the pack_metadata.json should end with (Deprecated).\nThe description of the pack in the pack_metadata.json should be one of the following formats:\n1. 'Deprecated. Use instead.'\n2. 'Deprecated. No available replacement.'" + "The Pack HelloWorld should be deprecated, as all its content items are deprecated.\nThe name of the pack in the pack_metadata.json should end with (Deprecated).\nThe description of the pack in the pack_metadata.json should be one of the following formats:\n1. 'Deprecated. Use PACK_NAME instead.'\n2. 'Deprecated. REASON No available replacement.'" ], ), ( diff --git a/demisto_sdk/commands/validate/tests/PB_validators_test.py b/demisto_sdk/commands/validate/tests/PB_validators_test.py index 388394c97e..da4fc87040 100644 --- a/demisto_sdk/commands/validate/tests/PB_validators_test.py +++ b/demisto_sdk/commands/validate/tests/PB_validators_test.py @@ -277,14 +277,14 @@ def test_is_no_rolename(content_item, expected_result): ( create_playbook_object( paths=["deprecated", "description"], - values=[True, "Deprecated. Use instead."], + values=[True, "Deprecated. Use PLAYBOOK_NAME instead."], ), [], ), ( create_playbook_object( paths=["deprecated", "description"], - values=[True, "Deprecated. No available replacement."], + values=[True, "Deprecated. REASON No available replacement."], ), [], ), @@ -294,8 +294,8 @@ def test_is_no_rolename(content_item, expected_result): values=[True, "Not a valid description"], ), "The deprecated playbook 'Detonate File - JoeSecurity V2' has invalid description.\nThe description of " - 'all deprecated playbooks should follow one of the formats:\n1. "Deprecated. Use ' - 'instead."\n2. "Deprecated. No available replacement."', + 'all deprecated playbooks should follow one of the formats:\n1. "Deprecated. Use PLAYBOOK_NAME ' + 'instead."\n2. "Deprecated. REASON No available replacement."', ), ], )