Open m2-assistant[bot] opened 3 weeks ago
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-13305 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
This issue is automatically created based on existing pull request: magento/magento2#37187: Fix integration test issue with interceptor
I have seen the following error:
This is because
\Magento\TestFramework\Store\StoreManager::reinitStores
does not take into account that \Magento\TestFramework\App\Config as returned from the ObjectManager might just as well be a\Magento\TestFramework\App\Config\Interceptor
, in case a plugin on that class exists for example.To be able to still get the data that is needed for the test, there is the need to test for the implementation of \Magento\Framework\Interception\InterceptorInterface and get the $data property from the parent.
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
Resolved issues: