-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: Test frameworkComponent: TestFrameworkIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressProgress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
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)
Resolved issues:
- resolves [Issue] Fix integration test issue with interceptor #37383: Fix integration test issue with interceptor
Metadata
Metadata
Assignees
Labels
Area: Test frameworkComponent: TestFrameworkIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressProgress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch