This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Introduce mock for UPS shipping testing #815
Closed
Description
Description (*)
Instead of real calls to the carrier service we need to introduce mock object that will return expected info.
Additional information
- Introduce new test module under
dev/tests/api-functional/_files/Magento
. - Module will serve for other carriers as well.
- Declare preference in
di.xml
forMagento\Ups\Model\Carrier
. - Instead of real call to the gateway, return expected info.
- Undo skipped tests.
See #739 for details
Metadata
Metadata
Assignees
Labels
No labels