Skip to content

Commit 823dd46

Browse files
MTO-104: [Test] Export Customer Addresses
- Update dependencies.
1 parent 7bbb57e commit 823dd46

File tree

2 files changed

+14
-2
lines changed
  • dev/tests/functional/tests/app/Magento
    • AdvancedPricingImportExport/Test/etc
    • CustomerImportExport/Test/etc

2 files changed

+14
-2
lines changed

dev/tests/functional/tests/app/Magento/AdvancedPricingImportExport/Test/etc/di.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@
1313
</arguments>
1414
</type>
1515

16-
<type name="Magento\Mtf\Util\Command\File\ExportInterface">
16+
<virtualType name="Magento\Mtf\Util\Command\File\AdvancedPricingExport" type="Magento\Mtf\Util\Command\File\Export">
1717
<arguments>
1818
<argument name="type" xsi:type="string">advancedPricing</argument>
1919
</arguments>
20+
</virtualType>
21+
22+
<type name="Magento\AdvancedPricingImportExport\Test\Constraint\AssertExportAdvancedPricing">
23+
<arguments>
24+
<argument name="export" xsi:type="object">Magento\Mtf\Util\Command\File\AdvancedPricingExport</argument>
25+
</arguments>
2026
</type>
2127

2228
<virtualType name="Magento\Mtf\Util\Command\File\Export\AdvancedPricingReader" type="Magento\Mtf\Util\Command\File\Export\Reader">

dev/tests/functional/tests/app/Magento/CustomerImportExport/Test/etc/di.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9-
<type name="Magento\Mtf\Util\Command\File\ExportInterface">
9+
<virtualType name="Magento\Mtf\Util\Command\File\CustomerAddressesExport" type="Magento\Mtf\Util\Command\File\Export">
1010
<arguments>
1111
<argument name="type" xsi:type="string">customerAddresses</argument>
1212
</arguments>
13+
</virtualType>
14+
15+
<type name="Magento\CustomerImportExport\Test\Constraint\AssertExportCustomerAddresses">
16+
<arguments>
17+
<argument name="export" xsi:type="object">Magento\Mtf\Util\Command\File\CustomerAddressesExport</argument>
18+
</arguments>
1319
</type>
1420

1521
<virtualType name="Magento\Mtf\Util\Command\File\Export\CustomerAddressesReader" type="Magento\Mtf\Util\Command\File\Export\Reader">

0 commit comments

Comments
 (0)