Skip to content
Snippets Groups Projects
Commit f75656bf authored by Rosen Georgiev's avatar Rosen Georgiev
Browse files

Merge branch 'evaluate-missing-policy' into 'main'

add evaluate negative test

See merge request !16
parents c1f6fc82 3d17fec0
No related branches found
No related tags found
1 merge request!16add evaluate negative test
Pipeline #51580 failed with stage
in 1 minute and 32 seconds
......@@ -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.
Finish editing this message first!
Please register or to comment