Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

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

Open
sgrund opened this issue Jun 24, 2015 · 0 comments
Open

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

sgrund opened this issue Jun 24, 2015 · 0 comments

Comments

@sgrund
Copy link

sgrund commented Jun 24, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant