Skip to content

Commit

Permalink
magento-engcom/magento2#25 added fixed typo in test and added di conf…
Browse files Browse the repository at this point in the history
…iguration
Thomas Kreidenhuber committed May 20, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 72d6298 commit 1fc9560
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Inventory/Test/Unit/Model/SourceTest.php
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ public function testPriority()
$this->assertEquals($this->source->setPriority(), SourceTest::TEST_ID);
}

public function testCarrierLinkds()
public function testCarrierLinks()
{
$carrierLink1 = $this->getMockBuilder(\Magento\Customer\Model\Customer::class)
->disableOriginalConstructor()
1 change: 1 addition & 0 deletions app/code/Magento/Inventory/etc/di.xml
Original file line number Diff line number Diff line change
@@ -8,5 +8,6 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Magento\InventoryApi\Api\SourceRepositoryInterface" type="Magento\Inventory\Model\SourceRepository" />
<preference for="Magento\InventoryApi\Api\Data\SourceInterface" type="Magento\Inventory\Model\Source" />
<preference for="Magento\InventoryApi\Api\Data\SourceCarrierLinkInterface" type="Magento\Inventory\Model\SourceCarrierLink" />
<preference for="Magento\InventoryApi\Api\Data\SourceSearchResultsInterface" type="Magento\Inventory\Model\SourceSearchResults" />
</config>

0 comments on commit 1fc9560

Please sign in to comment.