EcomDev_PHPUnit icon indicating copy to clipboard operation
EcomDev_PHPUnit copied to clipboard

Local fixtures are not deleted when shared fixtures are used

Open sgrund opened this issue 10 years ago • 0 comments

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

sgrund avatar Jun 24 '15 10:06 sgrund