Skip to content
Snippets Groups Projects
Unverified Commit 3d17fec0 authored by Georgi Michev's avatar Georgi Michev
Browse files

add evaluate negative test

parent c1f6fc82
No related branches found
No related tags found
1 merge request!16add evaluate negative test
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment