Skip to content

Commit 81aaf29

Browse files
unittest test_remediate_unresolved now expect result 'error' instead of 'fail'
1 parent 136e8f1 commit 81aaf29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/API/XCCDF/unittests/test_remediate_unresolved.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ assert_exists 2 '//TestResult'
2424
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]'
2525
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result'
2626
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result'
27-
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result[text()="fail"]'
27+
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result[text()="error"]'
2828
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix'
2929
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix/something'
3030
assert_exists 0 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix/object'

0 commit comments

Comments
 (0)