-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CustomerIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report
Description
Anyone who creates a branch off of develop and runs a TravisCI build will experience this error:
- Magento\Customer\Model\GroupManagementTest::testGetDefaultGroupWithNonDefaultStoreId
Magento\Framework\Exception\NoSuchEntityException: No such entity with groupId = , storeId = 11
Preconditions
Magento 2 develop branch
Steps to reproduce
- Create a branch of Magento Develop
- Trigger TravisCI Build with a simple pull request, like adding a comment
Expected result
TravisCI build passes all checks
Actual result
TravisCI Build fails 1 check for php5.6 and php7 with error: 1) Magento\Customer\Model\GroupManagementTest::testGetDefaultGroupWithNonDefaultStoreId
Magento\Framework\Exception\NoSuchEntityException: No such entity with groupId = , storeId = 11
Proposed solution: a function that checks if groupID and store ID exists and if not, use the default groupID and storeID. The check for groupID and StoreID seems to be in place because a NoSuchEntityException is thrown. So if possible, just add a "use default groupID and storeID" method.
Metadata
Metadata
Assignees
Labels
Component: CustomerIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report