Skip to content

Commit 4a89569

Browse files
Adapt test test_remediation_fix_without_system
1 parent 0f1e631 commit 4a89569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/API/XCCDF/unittests/test_remediation_fix_without_system.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ $OSCAP xccdf validate $result
2121

2222
assert_exists 1 '//rule-result'
2323
assert_exists 1 '//rule-result/result'
24-
assert_exists 1 '//rule-result/result[text()="fail"]'
24+
assert_exists 1 '//rule-result/result[text()="error"]'
2525
assert_exists 0 '//rule-result/fix'
26-
assert_exists 0 '//rule-result/message'
26+
assert_exists 1 '//rule-result/message[text()="No suitable fix found."]'
2727
assert_exists 1 '//score'
2828
assert_exists 1 '//score[text()="0.000000"]'
2929

0 commit comments

Comments
 (0)