More generic specimen data

This commit is contained in:
Laurent Destailleur 2013-04-06 00:37:20 +02:00
parent adf47d6975
commit bd1d9b719b

View File

@ -62,6 +62,7 @@ class Contact extends CommonObject
var $email; var $email;
var $birthday; var $birthday;
var $default_lang; var $default_lang;
var $note_public; // Public note
var $note; // Private note var $note; // Private note
var $no_email; // 1=Don't send e-mail to this contact, 0=do var $no_email; // 1=Don't send e-mail to this contact, 0=do
@ -1028,13 +1029,17 @@ class Contact extends CommonObject
$this->specimen=1; $this->specimen=1;
$this->lastname = 'DOLIBARR'; $this->lastname = 'DOLIBARR';
$this->firstname = 'SPECIMEN'; $this->firstname = 'SPECIMEN';
$this->address = '61 jump street'; $this->address = '21 jump street';
$this->zip = '75000'; $this->zip = '99999';
$this->town = 'Paris'; $this->town = 'MyTown';
$this->country_id = 1; $this->country_id = 1;
$this->country_code = 'FR'; $this->country_code = 'FR';
$this->country = 'France'; $this->country = 'France';
$this->email = 'specimen@specimen.com'; $this->email = 'specimen@specimen.com';
$this->note_public='This is a comment (public)';
$this->note='This is a comment (private)';
$socid = rand(1, $num_socs); $socid = rand(1, $num_socs);
$this->socid = $socids[$socid]; $this->socid = $socids[$socid];
} }