Closed
Description
This issue is automatically created based on existing pull request: #37187: Fix integration test issue with interceptor
I have seen the following error:
Property Magento\TestFramework\App\Config\Interceptor::$data does not exist
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)
- Fixes magento/magento2#<issue_number>
Manual testing scenarios (*)
- ...
- ...
Questions or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done