Ejemplo n.º 1
0
 /**
  * @group bug42279
  */
 public function testEmailAddressInFetchedRow()
 {
     $sea = new SugarEmailAddress();
     // this will populate contact->email1
     $sea->populateLegacyFields($this->contact);
     $email1 = $this->contact->email1;
     // this should set fetched_row['email1'] to contatc->email1
     $sea->handleLegacyRetrieve($this->contact);
     $this->assertEquals($email1, $this->contact->fetched_row['email1']);
 }