EcomDev / EcomDev_PHPUnit

Magento PHPUnit Integration
http://www.ecomdev.org/shop/code-testing/php-unit-test-suite.html
Open Software License 3.0
299 stars 166 forks source link

Local fixtures are not deleted when shared fixtures are used #257

Open sgrund opened 9 years ago

sgrund commented 9 years ago

When using a shared fixture (shared_entities) for a class, this information is stored in the fixture storage. The result is, that local entities are not removed as long as the shared fixture is used. The problem is, that when the sharedfixtures are discarded, the information about shared_entities still stay in the fixture storage. The result is, that fixtures in tests in other classes which are local are never cleaned up.

see: app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Eav.php:122