* Test works but not both due to some form of caching going on in the SmartySingleton
*/
public function testCreateSingleNowDated() {
- $firstName = 'John_' . substr(sha1(rand()), 0, 7);
- $lastName = 'Smith_' . substr(sha1(rand()), 0, 7);
+ $firstName = 'John_' . substr(sha1(rand()), 0, 7) . uniqid();
+ $lastName = 'Smith_' . substr(sha1(rand()), 0, 7) . uniqid();
$nameParams = array('first_name' => $firstName, 'last_name' => $lastName);
$contactId = $this->individualCreate($nameParams);
'first_name' => $firstName,
'middle_name' => '',
'last_name' => $lastName,
- 'street_address' => '8 Hobbiton Road',
+ 'street_address' => '8 Hobbiton Road' . uniqid(),
'city' => 'The Shire',
'state_province' => 'IL',
'postal_code' => 5010,