Skip to content

Commit 72cf3e7

Browse files
authored
Update BatchUpdateTest.php
1 parent a96455e commit 72cf3e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/BatchUpdateTest.php

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

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

4040
$this->assertIsArray($result);
4141
$this->assertTrue($result['totalRows'] == 3);
@@ -63,7 +63,7 @@ public function testBatchUpdateWithFacade()
6363
];
6464
$index = 'id';
6565

66-
$result = Batch::update($this->model, $columnValues, $index);
66+
$result = LaravelBatch::update($this->model, $columnValues, $index);
6767

6868
$this->assertTrue($result == 3);
6969
$this->model->truncate();

0 commit comments

Comments
 (0)