Skip to content

Commit c7b8817

Browse files
committed
Set the batching db connection
1 parent 82330cb commit c7b8817

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/TestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ protected function defineDatabaseMigrations()
4747
protected function getEnvironmentSetUp($app)
4848
{
4949
$app['config']->set('database.default', 'testbench');
50+
$app['config']->set('queue.batching.database', 'testbench');
5051
$port = env('DB_DRIVER') === 'mysql' ? 3307 : 5432;
5152
$app['config']->set('database.connections.testbench', [
5253
'driver' => env('DB_DRIVER', 'mysql'),

0 commit comments

Comments
 (0)