diff --git a/src/test/resources/features/tsa/policy/{group}/{name}/{version}/evaluation/POST.feature b/src/test/resources/features/tsa/policy/{group}/{name}/{version}/evaluation/POST.feature index 9f8c6f05512befc8b0766ecf2df91dfc8cd224e1..b0c336b88e13245d8a4809fae80d74da16651e1c 100644 --- a/src/test/resources/features/tsa/policy/{group}/{name}/{version}/evaluation/POST.feature +++ b/src/test/resources/features/tsa/policy/{group}/{name}/{version}/evaluation/POST.feature @@ -70,12 +70,13 @@ Feature: API -TSA - Policy - :group/:name/:version/evaluation POST And the field {message} has the value {missing required payload} And delete policy {test7} from repository - @negative @wip + @negative Scenario: TSA - Evaluate missing policy - Negative - Given I execute the policy {/testable/test0/2.0/evaluation} - Then the status code should be {400} + Then I load the REST request {Policy.json} with profile {successful_evaluate} + Given I execute the policy {/testable/test0/1.0/evaluation} + Then the status code should be {404} And the response is valid according to the {Policy_Evaluate_negative_schema.json} REST schema -# And the field {message} has the value {policy not found} + And the field {message} has the value {error evaluating policy} @negative Scenario: TSA - DID resolution with incorrect did - Negative