Commit 4cd00ef8 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

+ Added possibility for clearing tables in fixtures without specifying its rows

parent b81f9fc5
......@@ -280,9 +280,11 @@ class EcomDev_PHPUnit_Model_Fixture extends Mage_Core_Model_Abstract
foreach ($tables as $tableEntity => $data) {
$this->getResource()->cleanTable($tableEntity);
if (!empty($data)) {
$this->getResource()->loadTableData($tableEntity, $data);
}
}
}
/**
* Removes table data from test data base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment