We're updating the issue view to help you get more done. 

Contract test for delete supervisory node

Description

I would like to delete supervisory node which is assigned to existing requisition, and delete supervisory node which is not assigned to any requisition. I should be able to delete supervisory node which is not assigned to any requisition, but it is not possible to delete supervisory node which is assigned to requisition.

Acceptance criteria

  • as administrator I should be able to delete supervisory node, which is not assigned to any requisition,

  • as administrator I should not be able to delete supervisory node, which is assigned to requisition,

  • contract test should test: delete supervisory node in two cases: when supervisory node is assigned to requisition (test should fail, we cannot delete such supervisory node) and when supervisory node is not assigned to any requisition (test should pass) ,

  • contract test is still being triggered automatically by CI/CD process and the tests pass,

  • after I should log out.

Feature draft
should be added later

Status

Assignee

Jakub Kondrat

Reporter

Anna Czyrko

Labels

None

Story Points

1

Time tracking

4h

Epic Link

Sprint

None

Fix versions

Priority

Major