Skip to content

Conversation

larsroettig
Copy link
Member

No description provided.

larsroettig added 2 commits September 3, 2017 16:43
- Add test and functionality to support `OutOfStock` SourceItem
- Add the test case
- Impelment Adjust StockItem aggregation functionality to support Disabled Sources
@@ -0,0 +1,69 @@
<?php
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to merge develop brunch and adapt tests according to possibility to pre-define id

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (count($sourceIds)) {
$select->where(Source::SOURCE_ID . ' = ?', $sourceIds);
}
$sourceIds = $connection->fetchCol($select);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check this condition
If we do not have enabled sources then we need to return empty data without extra queries

@@ -0,0 +1,69 @@
<?php
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

larsroettig and others added 3 commits September 7, 2017 12:22
- Add new test case for all sources are disabled
- Simplify test case to  new structure
-- global refactoring
@magento-cicd2
Copy link

magento-cicd2 commented Sep 12, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ larsroettig
❌ naydav

Valeriy Nayda added 2 commits September 13, 2017 14:00
-- global refactoring
-- internal build fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants