Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Introduce mock for Fedex shipping testing #740

Closed
lenaorobei opened this issue Jun 13, 2019 · 1 comment
Closed

Introduce mock for Fedex shipping testing #740

lenaorobei opened this issue Jun 13, 2019 · 1 comment
Assignees

Comments

@lenaorobei
Copy link
Contributor

lenaorobei commented Jun 13, 2019

Description (*)

Instead of real calls to the carrier service we need to introduce mock object that will return expected info.

Additional information

  1. Introduce new test module under dev/tests/api-functional/_files/Magento.
  2. Module will serve for other carriers as well.
  3. Declare preference in di.xml for Magento\Fedex\Model\Carrier.
  4. Instead of real call to the gateway, return expected info.
  5. Undo skipped tests Magento\GraphQl\FedEx\SetFedExShippingMethodsOnCartTest [Shipping methods] Test coverage of FedEx shipping method #661

See #739 for details

@naydav
Copy link
Contributor

naydav commented Jul 11, 2019

#755

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants