Skip to content

Magefan\Blog\Plugin\Magento\Framework\App\Config\ScopeConfigInterfacePlugin breaks integration tests #664

@adamdudel

Description

@adamdudel

Describe the bug
Plugin breaks integration tests - Magento\TestFramework\Store\StoreManager can't access to private $data property of config class via reflection

Preconditions:

  • Magento Version: 2.4.6-*
  • Module Version: 2.12.3
  • PHP Version 8.2

To Reproduce
Steps to reproduce the behavior:

  1. Run any integration test with store creation in data fixture

Expected behavior
Integration tests are executed properly

Actual behavior
Error was thrown: Property Magento\TestFramework\App\Config\Interceptor::$data does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions