コード例 #1
0
ファイル: UpdateTest.php プロジェクト: titounnes/CodeIgniter4
 public function testUpdateBatchThrowsExceptionWithEmptySetArray()
 {
     $builder = new BaseBuilder('jobs', $this->db);
     $this->setExpectedException('CodeIgniter\\DatabaseException', 'updateBatch() called with no data');
     $builder->updateBatch([], 'id');
 }