コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 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();
 }
コード例 #4
0
ファイル: timingTest.php プロジェクト: ryanlarrabure/OpenVBX
 public function tearDown()
 {
     parent::tearDown();
 }