mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing forced trucation of tables in fixture loading, it was not really needed
This commit is contained in:
parent
cec3512835
commit
2eb0392b8a
1 changed files with 0 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue