diff --git a/policies/test_test.rego b/policies/test_test.rego index 6006c543..948b707c 100644 --- a/policies/test_test.rego +++ b/policies/test_test.rego @@ -18,27 +18,27 @@ test_needs_tests_with_results_mixed { test_success_data { count(deny) == 0 with data.test.test1 as {"result": "SUCCESS"} - with data.config.policy as {"non_blocking_checks": []} + with data.config.policy as {"non_blocking_checks": []} } test_failure_data { deny == {{"msg": "All tests did not end with SUCCESS"}} with data.test.test1 as {"result": "FAILURE"} - with data.config.policy as {"non_blocking_checks": []} + with data.config.policy as {"non_blocking_checks": []} } test_error_data { deny == {{"msg": "All tests did not end with SUCCESS"}} with data.test.test1 as {"result": "ERROR"} - with data.config.policy as {"non_blocking_checks": []} + with data.config.policy as {"non_blocking_checks": []} } test_mix_data { deny == {{"msg": "All tests did not end with SUCCESS"}} with data.test.successfull as {"result": "SUCCESS"} - with data.test.failed as {"result": "FAILURE"} - with data.test.errored as {"result": "ERROR"} - with data.config.policy as {"non_blocking_checks": []} + with data.test.failed as {"result": "FAILURE"} + with data.test.errored as {"result": "ERROR"} + with data.config.policy as {"non_blocking_checks": []} } test_can_skip_by_name { count(deny) == 0 with data.test.test1 as {"result": "FAILURE"} - with data.config.policy as {"non_blocking_checks": ["test:test1"]} + with data.config.policy as {"non_blocking_checks": ["test:test1"]} }