Removing forced trucation of tables in fixture loading, it was not really needed

This commit is contained in:
José Lorenzo Rodríguez 2010-10-25 19:47:53 -04:30
parent cec3512835
commit 2eb0392b8a

View file

@ -163,7 +163,6 @@ class CakeTestFixture {
* @return boolean on success or if there are no records to insert, or false on failure * @return boolean on success or if there are no records to insert, or false on failure
*/ */
public function insert(&$db) { public function insert(&$db) {
$this->truncate($db);
if (!isset($this->_insert)) { if (!isset($this->_insert)) {
$values = array(); $values = array();
if (isset($this->records) && !empty($this->records)) { if (isset($this->records) && !empty($this->records)) {