Skip to content
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
@lenaorobei

Description

@lenaorobei

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\Ups\Model\Carrier.
  4. Instead of real call to the gateway, return expected info.
  5. Undo skipped tests.

See #739 for details

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions