/** * try to remove image * * API change 2009-04-26, image must now be queried separatly */ public function testRemoveImage() { $contact = $this->_backend->get($GLOBALS['Addressbook_ControllerTest']['contactId']); $contact->jpegphoto = ''; $updatedContact = $this->_backend->update($contact); $this->assertEquals('', $updatedContact->jpegphoto); }
/** * try to remove image * * API change 2009-04-26, image must now be queried separatly */ public function testRemoveImage() { $contact = $this->testCreateContact(); $contact->jpegphoto = ''; $updatedContact = $this->_backend->update($contact); $this->assertEquals('', $updatedContact->jpegphoto); }