magento / magento/inventory

Fix Magento\Sales\Service\V1\ShipOrderTest::testConfigurableShipOrder

Open
#1,335 3 comments 0 reactions 0 assignees View on GitHub
Bug Progress: good first issue
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### Preconditions

1. Magento 2 with MSI.

### Steps to reproduce

1. Run test Magento\Sales\Service\V1\ShipOrderTest::testConfigurableShipOrder.

### Expected result

1. Test run finished without any errors.
2. Unskip test Magento\Sales\Service\V1\ShipOrderTest::testConfigurableShipOrder

### Actual result

1. Test run fails.

### Note
Fail is caused by erroneous fixture Magento/Sales/_files/order_configurable_product.php, which creates incorrect Order:
![image](https://user-images.githubusercontent.com/22593218/41158268-f7b6f12a-6b30-11e8-87f3-83f6fff31e33.png)

Contributor guide

Open the contributing guide

Research direction

Run Magento\Sales\Service\V1\ShipOrderTest::testConfigurableShipOrder and inspect Magento/Sales/_files/order_configurable_product.php, which the issue identifies as the source of the incorrect order fixture. Compare the fixture with the test's expected configurable shipment data. Done means the test passes and is no longer skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.