示例#1
0
 /**
  * try to delete a contact
  */
 public function testDeleteLead()
 {
     $id = $this->_objects['initialLead']->getId();
     $this->_backend->delete($id);
     $this->setExpectedException('Tinebase_Exception_NotFound');
     $this->_backend->get($id);
 }
 /**
  * try to delete a contact
  */
 public function testDeleteLead()
 {
     $lead = $this->testCreateLead();
     $this->_backend->delete($lead->getId());
     $this->setExpectedException('Tinebase_Exception_NotFound');
     $lead = $this->_backend->get($lead->getId());
 }