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

Fix default value for 'attribute_set_id'. #283

Closed colinmollenhour closed 7 years ago

colinmollenhour commented 7 years ago

The variable "$row" is passed to _getTableRecord, but since $row is a copy of $value[$index] it was not receiving the default attribute_set_id.

colinmollenhour commented 7 years ago

Added another commit for cases where I specify a table in a fixture with no rows which is useful for just truncating tables that were updated during the test to avoid foreign key errors.

colinmollenhour commented 7 years ago

Thanks for the merge, and for the great PHPUnit module!