EcomDev / EcomDev_PHPUnit

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

Product fixtures could not be cleaned correctly #68

Closed vdubyna closed 11 years ago

vdubyna commented 11 years ago

When I try to use catalog_product fixture, for some reason it could not clean in the end using truncate. The error itself tells that it could not resolve the Foreign Key reference to cataloginventory_stock_item. Magento EE1.12

We added manual delete for now. If you have not such problems, please post there for us to know that something wrong is with our configuration.

Thank you for such a great extension! The dataProviders are awesome.

IvanChepurnyi commented 11 years ago

Have you tried dev branch?

IvanChepurnyi commented 11 years ago

It is not using truncate for long time... Now fixtures are using delete always, since 1.6.x Magento release.

vdubyna commented 11 years ago

All works good with, dev branch