Beispiel #1
0
 /**
  * Defines the process for adding a new row.
  */
 protected function addRow()
 {
     $fields = array('DiscussionID' => Discussion::getInstance()->getRandomId(), 'InsertUserID' => User::getInstance()->getRandomId(), 'Body' => \Faker\Lorem::paragraph());
     $this->prepareAndInsert($fields);
 }
 /**
  * Defines the process for adding a new row.
  */
 protected function addRow()
 {
     $name = \Faker\Lorem::word();
     $fields = array('CategoryID' => Category::getInstance()->getRandomId(), 'InsertUserID' => User::getInstance()->getRandomId(), 'Name' => \Faker\Lorem::sentence(), 'Body' => \Faker\Lorem::paragraph());
     $this->prepareAndInsert($fields);
 }