Skip to content

Commit 5e4e766

Browse files
authored
Update BatchInsertTest.php
1 parent 72cf3e7 commit 5e4e766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/BatchInsertTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testBatchInsertWithFacade()
3434
];
3535
$batchSize = 500; // insert 500 (default), 100 minimum rows in one query
3636

37-
$result = Batch::insert($this->model, $this->columns, $values, $batchSize);
37+
$result = LaravelBatch::insert($this->model, $this->columns, $values, $batchSize);
3838

3939
$this->assertIsArray($result);
4040
$this->assertTrue($result['totalRows'] == 3);
@@ -73,7 +73,7 @@ public function testBatchInsertIncorrectColumnCount()
7373
];
7474
$batchSize = 500; // insert 500 (default), 100 minimum rows in one query
7575

76-
$result = Batch::insert($this->model, $this->columns, $values, $batchSize);
76+
$result = LaravelBatch::insert($this->model, $this->columns, $values, $batchSize);
7777
$this->assertFalse($result);
7878
}
7979

0 commit comments

Comments
 (0)