Improve Fulfillment controller integration tests

Description

Currently most of the controller Integration Tests in the Fulfillment service test the full stack of the application (meaning they go through services). This should not be the case and the controller tests should really only operate on the controller level, verify the response codes and serialization/deserialization from/to JSON.
This should be done in a similar way to the re-work of ITs in reference data and requisition (OLMIS-1018, ). Make sure that the re-written tests follow our testing guide doc.
During work on this ticket, improvements pointed in dev group: https://groups.google.com/forum/#!topic/openlmis-dev/6c964niDk4A should be implemented. Commit: https://github.com/OpenLMIS/openlmis-referencedata/commit/1664a7ba274412eec808e4378d27b7427f69eae5
As the result of this ticket controller ITs in Fulfillment will work faster and tests will be easier to write/maintain.

QAlity Plus - Test Management

Checklists

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Time Assistant

Created June 21, 2017 at 7:29 PM
Updated May 7, 2018 at 4:45 PM