public function tearDown()
 {
     $this->CI->db->truncate('user_messages');
     $this->CI->db->truncate('messages');
     $this->CI->db->delete('users', array('id >' => 1));
     $this->users = array();
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->CI->db->truncate('group_messages');
     $this->CI->db->truncate('group_annotations');
     $this->CI->db->truncate('user_messages');
     $this->CI->db->truncate('messages');
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->group->remove_user($user1->id);
     $this->group->remove_user($user2->id);
     $this->CI->db->truncate('group_messages');
     $this->CI->db->truncate('group_annotations');
     $this->CI->db->truncate('user_messages');
     $this->CI->db->truncate('messages');
     $this->CI->db->delete('users', array('id >' => 1));
     $this->CI->db->delete('groups', array('id >' => 2));
     $this->users = array();
     $this->group = null;
     parent::tearDown();
 }
Esempio n. 4
0
 public function tearDown()
 {
     parent::tearDown();
 }