Contract test for calculate Maximum Stock Quantity

Description

Acceptance crtiteria

  • I should be logged as storeroom manager to create requisition,

  • to calculate Maximum Stock Quantity we must use this formula: Average Consumption * MaxMonthOfStock,

  • this contract test should test calculation for Maximum Stock Quantity,

  • this contract test should also test if Maximum Stock Quantity does not change when we change status for requisition (calculated value should not clear or replace by 0),

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

  • after I should log out.

Status

Assignee

Klaudia Pałkowska

Reporter

Anna Czyrko

Labels

None

Story Points

2

Time tracking

12h

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure